Fix text overflow in text/radio buttons (#1004)
* [frontend] Clip button text, show ellipsis on overflow * Fix CSS rules, replicate to Vue --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
parent
ff51098c11
commit
bf21cbf3ce
|
|
@ -41,7 +41,7 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex: 0 0 auto;
|
||||
flex: 0 0 0;
|
||||
height: 24px;
|
||||
margin: 0;
|
||||
padding: 0 8px;
|
||||
|
|
@ -84,5 +84,9 @@
|
|||
position: relative;
|
||||
left: -4px;
|
||||
}
|
||||
|
||||
.text-label {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@
|
|||
|
||||
.text-label {
|
||||
margin: 0 4px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&.combined-before button:first-of-type,
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex: 0 0 auto;
|
||||
flex: 0 0 0;
|
||||
height: 24px;
|
||||
margin: 0;
|
||||
padding: 0 8px;
|
||||
|
|
@ -63,6 +63,10 @@
|
|||
position: relative;
|
||||
left: -4px;
|
||||
}
|
||||
|
||||
.text-label {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@
|
|||
|
||||
.text-label {
|
||||
margin: 0 4px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&.combined-before button:first-of-type,
|
||||
|
|
|
|||
Loading…
Reference in New Issue