Update Segment styles
Notably, there's a nice transition now
This commit is contained in:
parent
3fbd4aac69
commit
c8fccc9a13
1 changed files with 6 additions and 1 deletions
|
|
@ -22,13 +22,18 @@
|
|||
|
||||
& label {
|
||||
border-radius: $unit * 3;
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
padding: 8px 12px;
|
||||
text-overflow: ellipsis;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease-in-out;
|
||||
|
||||
&:before {
|
||||
background: #fff;
|
||||
|
|
|
|||
Loading…
Reference in a new issue