Skip to content

Commit

Permalink
Settings editor - add simple ellipsis for first line that overflows, …
Browse files Browse the repository at this point in the history
…doesn't cover case when first line does not overflow but there is more text, TODO
  • Loading branch information
roblourens committed Jul 31, 2018
1 parent 0001469 commit 0707dd4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@
.settings-editor > .settings-body > .settings-tree-container .setting-item .setting-item-description {
overflow: hidden;
height: 18px;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item .setting-item-description * {
Expand All @@ -288,6 +291,7 @@
.settings-editor > .settings-body > .settings-tree-container .setting-item.is-expanded .setting-item-description,
.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-measure-helper .setting-item-description {
height: initial;
-webkit-line-clamp: initial;
}

.settings-editor > .settings-body > .settings-tree-container .setting-description-measure-container .setting-item .setting-item-description,
Expand Down

0 comments on commit 0707dd4

Please sign in to comment.