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;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 0;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
|
|
@ -84,5 +84,9 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
left: -4px;
|
left: -4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-label {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -108,6 +108,7 @@
|
||||||
|
|
||||||
.text-label {
|
.text-label {
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.combined-before button:first-of-type,
|
&.combined-before button:first-of-type,
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 0;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
|
|
@ -63,6 +63,10 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
left: -4px;
|
left: -4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-label {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,7 @@
|
||||||
|
|
||||||
.text-label {
|
.text-label {
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.combined-before button:first-of-type,
|
&.combined-before button:first-of-type,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue