Skip to content

Commit

Permalink
Firefox doesn't like width:0 so we need some special treatment
Browse files Browse the repository at this point in the history
  • Loading branch information
C3realGuy committed Aug 25, 2016
1 parent bdfb3ea commit 7e9ffb6
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions core/skins/sections.css
Expand Up @@ -428,16 +428,31 @@ hr.sep
background: #e799a3

.postarea
width: 0
padding: 0 15px
@if $can_flex
display: flex
flex-direction: column
flex: 1 0 1em
@else
display: table-cell
position: relative // Needed for quick-edit in IE 6-8.
@endif

@if firefox // firefox needs special treatment
@if $can_flex
flex: 1 0 49em
@else
width: 78%
@endif
min-width: 49em
vertical-align: top
@else
width: 0
@if $can_flex
flex: 1 0 1em
@else
position: relative // Needed for quick-edit in IE 6-8.
@endif
@endif

padding: 0 15px
/* Soft-merged posts shouldn't have a background. */
.msg
background: none
Expand Down

0 comments on commit 7e9ffb6

Please sign in to comment.