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 01:16:54 -08:00
committed by GitHub
co-authored by Keavon Chambers
parent 369adec369
commit ba4db1ae50
4 changed files with 12 additions and 2 deletions
@@ -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,