Skip to content

Commit

Permalink
Fix page select UI glitches
Browse files Browse the repository at this point in the history
Add a text-overflow to long page names so that the urlpath can
still be read in the select result list.

And fixes a ugly line height issue
  • Loading branch information
tvdeyen committed Jun 3, 2021
1 parent 562a946 commit a5a560a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/alchemy/page-select.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.page-select--page,
.page-select--page-name,
.page-select--page-urlname {
text-overflow: ellipsis;
overflow: hidden;
Expand Down
1 change: 0 additions & 1 deletion app/assets/stylesheets/alchemy/selects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ select {
display: block;
font-weight: normal;
text-align: left;
line-height: 21px;

.select2-chosen {
overflow: visible;
Expand Down

0 comments on commit a5a560a

Please sign in to comment.