Skip to content

Commit

Permalink
fix(windows): fix the ellipsis for longer text on btns
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rc-swag committed Sep 28, 2023
1 parent 5455aa7 commit 662c850
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions windows/src/desktop/kmshell/xml/splash.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ a.button {
#config .btn {
width: 180px;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
white-space: nowrap;
}

#config {
Expand All @@ -167,6 +170,10 @@ a.button {

#exit .btn-small {
width: 90px;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
white-space: nowrap;
}

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

0 comments on commit 662c850

Please sign in to comment.