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:
locriacyber 2023-02-09 09:16:54 +00:00 committed by Keavon Chambers
parent ff51098c11
commit bf21cbf3ce
4 changed files with 12 additions and 2 deletions

View File

@ -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>

View File

@ -108,6 +108,7 @@
.text-label {
margin: 0 4px;
overflow: hidden;
}
&.combined-before button:first-of-type,

View File

@ -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>

View File

@ -79,6 +79,7 @@
.text-label {
margin: 0 4px;
overflow: hidden;
}
&.combined-before button:first-of-type,