Skip to content

Commit 662c850

Browse files
committed
fix(windows): fix the ellipsis for longer text on btns
The buttons already had a property to display ellipsis when the text was to big for the buttons however the other properties such as white-space nowrap needed to be added for it to work in all cases.
1 parent 5455aa7 commit 662c850

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

windows/src/desktop/kmshell/xml/splash.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ a.button {
156156
#config .btn {
157157
width: 180px;
158158
text-overflow: ellipsis;
159+
overflow: hidden;
160+
display: inline-block;
161+
white-space: nowrap;
159162
}
160163

161164
#config {
@@ -167,6 +170,10 @@ a.button {
167170

168171
#exit .btn-small {
169172
width: 90px;
173+
text-overflow: ellipsis;
174+
overflow: hidden;
175+
display: inline-block;
176+
white-space: nowrap;
170177
}
171178

172179
#tasks div#showAtStartupBox { margin-top: 6px; margin-left: 0; }

0 commit comments

Comments
 (0)