mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Add comment to explain combining of flex and float
Just so no-one thinks it’s redundant and removes it.
This commit is contained in:
@@ -6,6 +6,13 @@
|
|||||||
width: 25%;
|
width: 25%;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
|
/*
|
||||||
|
For browsers that don’t support flexbox, use float instead.
|
||||||
|
Float does not create floating of flex item, and do not take it
|
||||||
|
out-of-flow. So this is ignored by browsers that support flexbox.
|
||||||
|
See: https://www.w3.org/TR/css-flexbox-1/#flex-containers
|
||||||
|
*/
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user