Search
Clear search
Close search
Main menu
Google apps
Groups
Sign in
Groups
Ruby on Rails: Talk
Conversations
About
Send feedback
Help
weird SASS problrm in production
3 views
Skip to first unread message
Bigos
unread,
Apr 12, 2013, 3:48:24 PM
4/12/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
I have noticed a weird problem with SASS on production server.
in my application css I have:
pre {
background-color: #eee;
padding: 10px;
font-size: 11px; }
div {
&.field, &.actions {
margin-bottom: 10px; } }
however firefox browser gets following CSS:
notice inserted a:hover that messes up my styling
pre {
background-color: #EEEEEE;
font-size: 11px;
padding: 10px;
}
a {
color: #000000;
}
a:visited {
color: #666666;
}
a:hover {
border-bottom: 1px solid #777777;
}
div.field, div.actions {
margin-bottom: 10px;
}
when I try to override a:hover with my CSS it works fine on development machine but doesn’t work on the production server.
How am I supposed to fix it?
Bigos
unread,
Apr 12, 2013, 5:45:53 PM
4/12/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
got the answer on stack overflow:
http://stackoverflow.com/questions/15976304/weird-css-mangling-unexpected-border-bottom-value-in-ahover
Reply all
Reply to author
Forward
0 new messages