Update Segment styles

Notably, there's a nice transition now
This commit is contained in:
Justin Edmund 2023-06-30 22:25:26 -07:00
parent 3fbd4aac69
commit c8fccc9a13

View file

@ -22,13 +22,18 @@
& label { & label {
border-radius: $unit * 3; border-radius: $unit * 3;
display: block; display: flex;
align-items: center;
justify-content: center;
text-align: center; text-align: center;
box-sizing: border-box;
height: 100%;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
padding: 8px 12px; padding: 8px 12px;
text-overflow: ellipsis; text-overflow: ellipsis;
cursor: pointer; cursor: pointer;
transition: all 0.15s ease-in-out;
&:before { &:before {
background: #fff; background: #fff;