You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Thiago H. de Paula Figueiredo (JIRA)" <ji...@apache.org> on 2013/10/29 22:43:25 UTC

[jira] [Commented] (TAP5-2197) @Import without stack puts imported stylesheet before the core stack ones

    [ https://issues.apache.org/jira/browse/TAP5-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808495#comment-13808495 ] 

Thiago H. de Paula Figueiredo commented on TAP5-2197:
-----------------------------------------------------

Commit 26d62122995348bcde8ceffe6b0dd046d220116f in branch refs/heads/master from Thiago H. de Paula Figueiredo
 [ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=26d6212 ]

TAP-2197: @Import without stack puts imported stylesheet before the core
 stack ones. Also adds a symbol for disabling TAP5-2169: Core stack is
 not included by default

> @Import without stack puts imported stylesheet before the core stack ones
> -------------------------------------------------------------------------
>
>                 Key: TAP5-2197
>                 URL: https://issues.apache.org/jira/browse/TAP5-2197
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Geoff Callender
>            Assignee: Thiago H. de Paula Figueiredo
>             Fix For: 5.4
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.1#6144)