File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,11 @@ limitations under the License.
1818.mx_EditMessageComposer {
1919 display : flex ;
2020 flex-direction : column ;
21+ max-width : 100% ; // disable overflow
22+ width : auto ;
2123 gap : 5px ;
2224 padding : 3px ;
2325
24- // Make sure the formatting bar is visible
25- overflow : visible !important ; // override mx_EventTile_content
26-
2726 .mx_BasicMessageComposer_input {
2827 border-radius : 4px ;
2928 border : solid 1px $primary-hairline-color ;
@@ -38,12 +37,15 @@ limitations under the License.
3837
3938 .mx_EditMessageComposer_buttons {
4039 display : flex ;
41- flex-direction : row ;
40+ flex-flow : row wrap-reverse ; // display "Save" over "Cancel"
4241 justify-content : flex-end ;
4342 gap : 5px ;
43+ margin-inline-start : auto ;
4444
4545 .mx_AccessibleButton {
46- padding : 5px 40px ;
46+ flex : 1 ;
47+ box-sizing : border-box ;
48+ min-width : 100px ; // magic number to align the edge of the button with the input area
4749 }
4850 }
4951}
Original file line number Diff line number Diff line change @@ -51,6 +51,13 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
5151 mask-image : url (' $(res)/img/element-icons/circle-sending.svg' );
5252 }
5353
54+ .mx_EventTile_content {
55+ & .mx_EditMessageComposer {
56+ // Make sure the formatting bar is visible
57+ overflow : visible ;
58+ }
59+ }
60+
5461 & [data-layout = group ] {
5562 .mx_EventTile_line {
5663 line-height : var (--GroupLayout-EventTile-line-height );
You can’t perform that action at this time.
0 commit comments