Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/scss/_utilities.scss

Issue 29605758: Noissue - Add floating utility classes to website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Nov. 13, 2017, 11:11 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/scss/_utilities.scss
===================================================================
--- a/static/scss/_utilities.scss
+++ b/static/scss/_utilities.scss
@@ -58,16 +58,24 @@
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-start { text-align: left; }
[dir="rtl"] .text-start { text-align: right; }
.text-end { text-align: right; }
[dir="rtl"] .text-end { text-align: left; }
+/* Floats
+ ******************************************************************************/
+
+ .float-start { float: left; }
+ [dir="rtl"] .float-start { float: right; }
+ .float-end { float: right; }
+ [dir="rtl"] .float-end { float: left; }
+
/* Clearfix
******************************************************************************/
.clearfix:after,
.clearfix:before
{
display: table;
content: " ";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld