[Glitch] Improvement variable height in single column layout

Port d93b82af87 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Takeshi Umeda
2019-06-02 17:05:54 +09:00
committed by ThibG
parent 02d6187894
commit 1329308bc7
7 changed files with 93 additions and 57 deletions

View File

@ -12,7 +12,8 @@
opacity: 0.0;
&.composer--spoiler--visible {
height: 47px;
height: 36px;
margin-bottom: 11px;
opacity: 1.0;
}
@ -98,6 +99,9 @@
border-radius: 4px;
padding: 10px;
background: $ui-primary-color;
min-height: 23px;
overflow-y: auto;
flex: 0 2 auto;
& > header {
margin-bottom: 5px;
@ -218,6 +222,7 @@
position: absolute;
right: 5px;
top: 5px;
z-index: 1;
::-webkit-scrollbar-track:hover,
::-webkit-scrollbar-track:active {
@ -225,7 +230,7 @@
}
}
.composer--textarea,
.compose-form__autosuggest-wrapper,
.autosuggest-input {
position: relative;
@ -284,6 +289,12 @@
}
}
.emoji-picker-wrapper,
.autosuggest-textarea__suggestions-wrapper {
position: relative;
height: 0;
}
.autosuggest-textarea__suggestions {
display: block;
position: absolute;
@ -485,6 +496,7 @@
box-shadow: inset 0 5px 5px rgba($base-shadow-color, 0.05);
border-radius: 0 0 4px 4px;
height: 27px;
flex: 0 0 auto;
& > * {
display: inline-block;
@ -575,6 +587,7 @@
text-align: right;
white-space: nowrap;
overflow: hidden;
justify-content: flex-end;
& > .count {
display: inline-block;