diff options
author | David Yip <yipdw@member.fsf.org> | 2018-01-13 11:41:06 -0600 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2018-01-13 21:27:39 -0600 |
commit | 1e0b7070185b748e27a301acfc325bfb38be7b31 (patch) | |
tree | 3b1fab7e9afab41beea7202112a18fe280a75dcc /app/javascript/flavours/glitch/styles | |
parent | 835eec8a4cbf8fa340241fc0bd83e07e8c19ef5d (diff) |
Add the shrinking glitchy elefriend. #294.
Diffstat (limited to 'app/javascript/flavours/glitch/styles')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/drawer.scss | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/drawer.scss b/app/javascript/flavours/glitch/styles/components/drawer.scss index 423141aec..75b5d6b04 100644 --- a/app/javascript/flavours/glitch/styles/components/drawer.scss +++ b/app/javascript/flavours/glitch/styles/components/drawer.scss @@ -50,9 +50,27 @@ contain: strict; } - @for $i from 1 through 3 { - .mbstobon-bg-#{$i} { - background: url("~flavours/glitch/images/mbstobon-ui-#{$i}.png") no-repeat left bottom / contain; + .drawer__inner { + position: absolute; + top: 0; + left: 0; + box-sizing: border-box; + padding: 0; + display: flex; + flex-direction: column; + overflow: hidden; + overflow-y: auto; + width: 100%; + height: 100%; + + .mastodon { + flex: 1; + + @for $i from 1 through 3 { + &.mbstobon-bg-#{$i} { + background: url("~flavours/glitch/images/mbstobon-ui-#{$i}.png") no-repeat left bottom / contain; + } + } } } } |