Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1554

CollapsiblePanel CSS Question

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.11-SNAPSHOT
    • 1.1.11
    • None
    • None
    • Win XP, MyFaces 2.0.3-Snapshot, Tomahahwk20-1.1.11-Snapshot

    Description

      Hi,

      I'm using the collapsiblepanel component inside a h:form see the following code

      <t:collapsiblePanel id="aNewId" title="a title" style="margin-left: 30px;">
      <p>lorem ipsum</p>
      </t:collapsiblePanel>

      It get's rendered as follows:

      <div style="margin-left: 30px;" title="a title">
      <a href...>
      <span style="margin-left: 30px;">></span>
      <span style="margin-left: 30px;">a title</span>
      </a>
      </div>

      Why get the both span-tags the margin-left style too? Because the div has this style already and the first span has now a margin-left of 60px while the third span has a margin-left of 90px.

      How can i achieve it that the margin-left style is applied only to the surrounding div? Is this a bug or did I misconfigured sth?

      Greets Oli

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lu4242 Leonardo Uribe
            oli Oliver Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment