Improve message editing UI (#8483)
* Improve message editing UI Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Remove weird padding on bubble layout Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
ab26aad406
commit
1e73184b78
3 changed files with 8 additions and 36 deletions
|
@ -16,13 +16,13 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
.mx_EditMessageComposer {
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
padding: 3px;
|
||||
// this is to try not make the text move but still have some
|
||||
// padding around and in the editor.
|
||||
// Actual values from fiddling around in inspector
|
||||
margin: -7px -10px -5px -10px;
|
||||
overflow: visible !important; // override mx_EventTile_content
|
||||
|
||||
// Make sure the formatting bar is visible
|
||||
overflow: visible !important; // override mx_EventTile_content
|
||||
|
||||
.mx_BasicMessageComposer_input {
|
||||
border-radius: 4px;
|
||||
|
@ -40,23 +40,10 @@ limitations under the License.
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
background: $header-panel-bg-color;
|
||||
z-index: 100;
|
||||
right: 0;
|
||||
margin: 0 -110px 0 0;
|
||||
padding-right: 147px;
|
||||
gap: 5px;
|
||||
|
||||
.mx_AccessibleButton {
|
||||
margin-left: 5px;
|
||||
padding: 5px 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_EventTile_last .mx_EditMessageComposer_buttons {
|
||||
position: static;
|
||||
margin-right: -147px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue