Maven 1.x FAQ Plugin
  1. Maven 1.x FAQ Plugin
  2. MPFAQ-11

questions' font is same size or smaller than answers' one

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.5
    • Labels:
      None
    • Environment:
      rc3, any browser
    • Number of attachments :
      2

      Description

      In the faq body, the questions are less indented that the answers but both have the same font size (or sometimes questions are smaller see MPFAQ-10 !). It's a real pain when the answers are more than a few line long.

      IWBNI if the question were bolder a/o larger than the answers.

      1. faq-faq.jsl.patch
        0.9 kB
        Julien Kirch
      2. MPFAQ-11.patch
        0.5 kB
        Lukas Theussl

        Issue Links

          Activity

          Hide
          Julien Kirch added a comment -

          Making question H3 produce a document easier to read.

          Show
          Julien Kirch added a comment - Making question H3 produce a document easier to read.
          Hide
          Carlos Sanchez added a comment -

          Fixed in xdoc plugin 1.9 using a css style

          Show
          Carlos Sanchez added a comment - Fixed in xdoc plugin 1.9 using a css style
          Hide
          Lukas Theussl added a comment -

          Hi Carlos,

          Your fix for this problem has some unwanted side effects (MPXDOC-149). You should define the style such that it applies to the faq plugin only. Also I don't find this new style very pretty. It may be ok for multi-line answers, but it looks awkward in cases with lots of questions and short answers. Wouldn't something like

          dt .question

          { font-size: larger; }

          be enough?

          Show
          Lukas Theussl added a comment - Hi Carlos, Your fix for this problem has some unwanted side effects ( MPXDOC-149 ). You should define the style such that it applies to the faq plugin only. Also I don't find this new style very pretty. It may be ok for multi-line answers, but it looks awkward in cases with lots of questions and short answers. Wouldn't something like dt .question { font-size: larger; } be enough?
          Hide
          Lukas Theussl added a comment -

          Make the dt's in questions use a style specific to the faq plugin.
          Note that this depends on my patch submitted for MPXDOC-149.

          Show
          Lukas Theussl added a comment - Make the dt's in questions use a style specific to the faq plugin. Note that this depends on my patch submitted for MPXDOC-149 .
          Hide
          Arnaud Heritier added a comment -

          Patch applied. Thanks.

          Show
          Arnaud Heritier added a comment - Patch applied. Thanks.

            People

            • Assignee:
              Arnaud Heritier
              Reporter:
              Julien Kirch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: