Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2197

@Import without stack puts imported stylesheet before the core stack ones

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      I'm having trouble overriding the core css. I want to override the css of the bootstrap classes...

      When I do the following import, the page renders a link to my css BEFORE the links to the core css files. No good.

      @Import(stylesheet =

      { "context:css/mystylesheet.css" }

      )

      BUT, when I do the following instead, the page renders in the right order, ie. a link to my css AFTER the links to the core css. Yay.

      @Import(stack =

      { "core" }

      , stylesheet =

      { "context:css/mystylesheet.css" }

      )

      Is this a bug or expected behaviour?

      Cheers,

      Geoff

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              geoffcallender Geoff Callender
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: