mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 18:37:33 -04:00
Center pill content using more flexbox
Turns each pill item (already full height) into a flex container with its content as a column. Uses this to align the content (the pill label) to the middle of the column.
This commit is contained in:
@@ -25,7 +25,9 @@
|
|||||||
|
|
||||||
a,
|
a,
|
||||||
&-selected-item {
|
&-selected-item {
|
||||||
display: block;
|
display: flex; // float causes display: block in browsers without flexbox
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
float: left;
|
float: left;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user