Add legend and style it
This commit is contained in:
parent
b16f983a1f
commit
b7768f34f2
2 changed files with 29 additions and 2 deletions
|
@ -30,7 +30,7 @@ limitations under the License.
|
|||
flex-direction: column;
|
||||
// min-height at this level so the mx_BasicMessageComposer_input
|
||||
// still stays vertically centered when less than 50px
|
||||
min-height: 50px;
|
||||
min-height: 42px;
|
||||
|
||||
.mx_BasicMessageComposer_input {
|
||||
padding: 3px 0;
|
||||
|
@ -38,7 +38,7 @@ limitations under the License.
|
|||
// in it's parent vertically
|
||||
// while keeping the autocomplete at the top
|
||||
// of the composer. The parent needs to be a flex container for this to work.
|
||||
margin: auto 0;
|
||||
margin: auto 0 0 0;
|
||||
// max-height at this level so autocomplete doesn't get scrolled too
|
||||
max-height: 140px;
|
||||
overflow-y: auto;
|
||||
|
@ -49,5 +49,31 @@ limitations under the License.
|
|||
position: relative;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.mx_SendMessageComposer_legend {
|
||||
height: 16px;
|
||||
box-sizing: content-box;
|
||||
font-size: 8px;
|
||||
line-height: 10px;
|
||||
padding: 0 0 2px 0;
|
||||
color: $light-fg-color;
|
||||
user-select: none;
|
||||
visibility: hidden;
|
||||
|
||||
* {
|
||||
display: inline-block;
|
||||
margin: 0 10px 0 0;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
code {
|
||||
border-radius: 2px;
|
||||
background-color: $focus-bg-color;
|
||||
}
|
||||
|
||||
&.mx_SendMessageComposer_legend_shown {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue