Commit a34fa2f9493abe9129836b561bfce64529567140
1 parent
f61c03a1
Exists in
master
and in
23 other branches
Add missing clear fix css
Showing
1 changed file
with
29 additions
and
0 deletions
Show diff stats
public/stylesheets/application.css
| @@ -5211,3 +5211,32 @@ h1.page-title.no-boxes small { | @@ -5211,3 +5211,32 @@ h1.page-title.no-boxes small { | ||
| 5211 | margin: .8em 0 .2em; | 5211 | margin: .8em 0 .2em; |
| 5212 | line-height: 1.5; | 5212 | line-height: 1.5; |
| 5213 | } | 5213 | } |
| 5214 | + | ||
| 5215 | + | ||
| 5216 | +/* clear float elements */ | ||
| 5217 | +.clear { | ||
| 5218 | + clear: both; | ||
| 5219 | + display: block; | ||
| 5220 | + overflow: hidden; | ||
| 5221 | + visibility: hidden; | ||
| 5222 | + width: 0; | ||
| 5223 | + height: 0; | ||
| 5224 | + margin:0; | ||
| 5225 | + padding:0; | ||
| 5226 | + border: none; | ||
| 5227 | +} | ||
| 5228 | +.clearfix:before, | ||
| 5229 | +.clearfix:after { | ||
| 5230 | + content: '\0020'; | ||
| 5231 | + display: block; | ||
| 5232 | + overflow: hidden; | ||
| 5233 | + visibility: hidden; | ||
| 5234 | + width: 0; | ||
| 5235 | + height: 0; | ||
| 5236 | + margin:0; | ||
| 5237 | + padding:0; | ||
| 5238 | +} | ||
| 5239 | +.clearfix:after { | ||
| 5240 | + clear: both; | ||
| 5241 | +} | ||
| 5242 | + |