Template:FAQ: Difference between revisions

Jump to navigation Jump to search
Expand FAQ box to full width but don't flow over floating elements
No edit summary
(Expand FAQ box to full width but don't flow over floating elements)
Line 9: Line 9:
     {{#if:{{{source|}}} |
     {{#if:{{{source|}}} |
       {{#if:{{{reference|}}} |
       {{#if:{{{reference|}}} |
         {{{!}} style="margin-bottom:5px; background-color:lightgrey; width:100%; padding:5px; border-top-left-radius:10px; border-top-right-radius:10px; border-bottom-right-radius:10px; border-bottom-left-radius:10px;"
         <div style="margin-bottom:5px; background-color:lightgrey; padding:5px; border-top-left-radius:10px; border-top-right-radius:10px; border-bottom-right-radius:10px; border-bottom-left-radius:10px;min-width:270px;overflow:hidden;">
        {{{!}} style="width:100%"
         {{!}} align="left" colspan="2" {{!}} '''{{{question|}}}'''
         {{!}} align="left" colspan="2" {{!}} '''{{{question|}}}'''
         {{!}}-
         {{!}}-
Line 18: Line 19:
         {{!}}-
         {{!}}-
         {{!}}}
         {{!}}}
        </div>
       }}
       }}
     }}
     }}
   }}
   }}
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Navigation menu