[ADF-1828] Folder title shrinks when it's too long to display it in a small screen (#3123)

This commit is contained in:
davidcanonieto 2018-03-26 18:29:03 +01:00 committed by Eugenio Romano
parent 3033102ae4
commit 3d21aa59f3

View File

@ -7,7 +7,8 @@
&-dropdown-breadcrumb { &-dropdown-breadcrumb {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
height: 25px; width: 65%;
max-width: 200px;
} }
&-dropdown-breadcumb-trigger { &-dropdown-breadcumb-trigger {
@ -36,9 +37,11 @@
&-current-folder { &-current-folder {
margin-left: $dropdownHorizontalOffset; margin-left: $dropdownHorizontalOffset;
line-height: 26px; line-height: 26px;
white-space: pre-wrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: inline-block;
width: 100%;
} }
&-current-folder.isRoot { &-current-folder.isRoot {