diff options
author | ThibG <thib@sitedethib.com> | 2019-06-04 17:12:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-04 17:12:25 +0200 |
commit | 58946fef3c05342289c1c50132996fc4fd01cf68 (patch) | |
tree | af2df753e591d65a77e55c851cfe2b1979f47683 /app/javascript/styles | |
parent | 1d5434d34c9bf86dea669676b7e8587255d38135 (diff) | |
parent | 8eb7c3304ee1260de3e8e1d1f32bd67409488756 (diff) |
Merge pull request #1079 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/accounts.scss | 1 | ||||
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 55 |
2 files changed, 46 insertions, 10 deletions
diff --git a/app/javascript/styles/mastodon/accounts.scss b/app/javascript/styles/mastodon/accounts.scss index a790251f4..a93e1ea12 100644 --- a/app/javascript/styles/mastodon/accounts.scss +++ b/app/javascript/styles/mastodon/accounts.scss @@ -68,6 +68,7 @@ margin: 0; border-radius: 4px; background: darken($ui-base-color, 8%); + object-fit: cover; } } diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 959b601e6..cd5ff35a4 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -333,14 +333,15 @@ } } + .emoji-picker-dropdown { + position: absolute; + top: 5px; + right: 5px; + z-index: 1; + } + .compose-form__autosuggest-wrapper { position: relative; - - .emoji-picker-dropdown { - position: absolute; - right: 5px; - top: 5px; - } } .autosuggest-textarea, @@ -355,7 +356,8 @@ opacity: 0.0; &.spoiler-input--visible { - height: 47px; + height: 36px; + margin-bottom: 11px; opacity: 1.0; } } @@ -406,6 +408,12 @@ } } + .emoji-picker-wrapper, + .autosuggest-textarea__suggestions-wrapper { + position: relative; + height: 0; + } + .autosuggest-textarea__suggestions { box-sizing: border-box; display: none; @@ -566,6 +574,7 @@ border-radius: 0 0 4px 4px; display: flex; justify-content: space-between; + flex: 0 0 auto; .compose-form__buttons { display: flex; @@ -614,6 +623,7 @@ display: flex; justify-content: flex-end; min-width: 0; + flex: 0 0 auto; .compose-form__publish-button-wrapper { overflow: hidden; @@ -644,6 +654,9 @@ margin-bottom: 10px; background: $ui-primary-color; padding: 10px; + min-height: 23px; + overflow-y: auto; + flex: 0 2 auto; } .reply-indicator__header { @@ -1794,7 +1807,6 @@ a.account__display-name { height: 100%; &__pane { - flex: 1 1 auto; height: 100%; overflow: hidden; pointer-events: none; @@ -2185,7 +2197,8 @@ a.account__display-name { margin-top: 10px; display: flex; flex-direction: column; - height: 100%; + height: calc(100% - 10px); + overflow-y: hidden; .search__input { line-height: 18px; @@ -2201,14 +2214,33 @@ a.account__display-name { .navigation-bar { padding-top: 20px; padding-bottom: 20px; + flex: 0 1 48px; + min-height: 20px; } .flex-spacer { background: transparent; } + .compose-form { + flex: 1; + overflow-y: hidden; + display: flex; + flex-direction: column; + min-height: 310px; + padding-bottom: 71px; + margin-bottom: -71px; + } + + .compose-form__autosuggest-wrapper { + overflow-y: auto; + background-color: $white; + border-radius: 4px 4px 0 0; + flex: 0 1 auto; + } + .autosuggest-textarea__textarea { - max-height: 200px; + overflow-y: hidden; } .compose-form__upload-thumbnail { @@ -2218,6 +2250,9 @@ a.account__display-name { .navigation-panel { margin-top: 10px; + margin-bottom: 10px; + height: calc(100% - 20px); + overflow-y: auto; hr { border: 0; |