mirror of
https://github.com/moparisthebest/mail
synced 2024-11-22 08:52:15 -05:00
Merge pull request #318 from whiteout-io/dev/WO-914
[WO-914] Limit dropdown folder list in width and size
This commit is contained in:
commit
1af3eac566
@ -45,6 +45,27 @@ Dummy.prototype.listFolders = function() {
|
||||
name: 'Junk',
|
||||
count: 0,
|
||||
path: 'JUNK'
|
||||
}, {
|
||||
name: 'Foo',
|
||||
count: 0,
|
||||
path: 'FOO'
|
||||
}, {
|
||||
name: 'Snafu',
|
||||
count: 0,
|
||||
path: 'SNAFU'
|
||||
}, {
|
||||
name: 'Tralalalala',
|
||||
count: 0,
|
||||
path: 'TRALALALALA'
|
||||
}, {
|
||||
name: 'Another one',
|
||||
count: 0,
|
||||
path: 'ANOTHERONE'
|
||||
}, {
|
||||
name: 'Mucho Folder',
|
||||
count: 0,
|
||||
path: 'MUCHOFOLDER'
|
||||
|
||||
}];
|
||||
|
||||
return dummies;
|
||||
|
@ -4,7 +4,10 @@
|
||||
left: -9999px;
|
||||
display: block;
|
||||
z-index: 9000;
|
||||
max-height: 400px;
|
||||
max-width: 300px;
|
||||
min-width: 150px;
|
||||
overflow-y: auto;
|
||||
text-align: left;
|
||||
font-size: $font-size-base;
|
||||
background: $color-bg;
|
||||
@ -39,6 +42,9 @@
|
||||
padding: 0.5em 15px 0.5em 15px;
|
||||
color: $color-main;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
||||
& > svg {
|
||||
display: inline-block;
|
||||
|
Loading…
Reference in New Issue
Block a user