diff options
| author | Henry Jameson <me@hjkos.com> | 2018-09-09 15:55:43 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-09-09 15:55:43 +0300 |
| commit | 0656e0ef324ae8361a872908bb1b26a3d4ad4129 (patch) | |
| tree | e4c0cf6f8ac98da1204d500d9cfdc04cd7d36f27 /src/App.scss | |
| parent | e6adddbba69cbcc71d3f3ba3d0734b7fefbc44d4 (diff) | |
| parent | ed6abeacadc2bced05f3221b2c57ba488f0ae800 (diff) | |
Merge remote-tracking branch 'upstream/develop' into translations-separation
* upstream/develop: (21 commits)
use prime number step for Who to follow panel
fix
Revert "Update messages.js"
Update messages.js Update the Occitan language - Fixed Linting
remove formatting options
Remove outdated settings
features panel i18n
features panes supports chat & gopher
fix collapse link being too small
small fix for non-square gif avatars
Fixed collapseMessageWithSubjectLocal always using instance-provided config.
Fix last place with usercard having wrong width
Fixed non-masked image looking weird in chrome.
Kinda went back to using align-items: stretch. Fixed error message floating.
Simplified image sensitivity label
show features panel only if not login
update
debug
update
debug
...
Diffstat (limited to 'src/App.scss')
| -rw-r--r-- | src/App.scss | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/src/App.scss b/src/App.scss index dd43c5ca..056a235e 100644 --- a/src/App.scss +++ b/src/App.scss @@ -248,6 +248,7 @@ nav { justify-content: center; flex: 0 0 auto; z-index: -1; + .mask { mask-repeat: no-repeat; mask-position: center; @@ -260,7 +261,10 @@ nav { left: 0; right: 0; } + img { + height: 100%; + object-fit: contain; display: block; flex: 0; } @@ -325,18 +329,35 @@ main-router { background-size: cover; padding: .6em .6em; text-align: left; - font-size: 1.3em; - line-height: 24px; + line-height: 28px; background-color: $fallback--btn; background-color: var(--btn, $fallback--btn); align-items: baseline; .title { flex: 1 0 auto; + font-size: 1.3em; + } + + .alert { + white-space: nowrap; + text-overflow: ellipsis; + overflow-x: hidden; } button { - height: 100%; + flex-shrink: 0; + } + + button, .alert { + // height: 100%; + line-height: 21px; + min-height: 0; + box-sizing: border-box; + margin: 0; + margin-left: .25em; + min-width: 1px; + align-self: stretch; } } |
