Skip to content

Commit

Permalink
[refs #76] Implement proposed flag object fix
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Jul 13, 2016
1 parent 5c25e46 commit f000350
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion objects/_objects.flag.scss
Expand Up @@ -35,9 +35,13 @@

/**
* Flag images have a space between them and the body of the object.
*
* 1. Force `.flag__img` to take up as little space as possible:
* https://pixelsvsbytes.com/2012/02/this-css-layout-grid-is-no-holy-grail/
*/

.o-flag__img {
width: 1px; /* [1] */
padding-right: $inuit-global-spacing-unit;


Expand All @@ -59,7 +63,7 @@
*/

.o-flag__body {
width: 100%; /* [1] */
width: auto; /* [1] */

&,
> :last-child {
Expand Down

0 comments on commit f000350

Please sign in to comment.