1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-25 10:22:18 -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:
Tankred Hase 2015-04-09 16:41:20 +02:00
commit 1af3eac566
2 changed files with 27 additions and 0 deletions

View File

@ -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;

View File

@ -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;