mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-07 19:02:26 -05: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,
|
||||
&-selected-item {
|
||||
display: block;
|
||||
display: flex; // float causes display: block in browsers without flexbox
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
float: left;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user