This repository was archived by the owner on Sep 11, 2024. It is now read-only.
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.
18
18
.mx_EditMessageComposer {
19
19
display : flex ;
20
20
flex-direction : column ;
21
+ max-width : 100% ; // disable overflow
22
+ width : auto ;
21
23
gap : 5px ;
22
24
padding : 3px ;
23
25
24
- // Make sure the formatting bar is visible
25
- overflow : visible !important ; // override mx_EventTile_content
26
-
27
26
.mx_BasicMessageComposer_input {
28
27
border-radius : 4px ;
29
28
border : solid 1px $primary-hairline-color ;
@@ -38,12 +37,15 @@ limitations under the License.
38
37
39
38
.mx_EditMessageComposer_buttons {
40
39
display : flex ;
41
- flex-direction : row ;
40
+ flex-flow : row wrap-reverse ; // display "Save" over "Cancel"
42
41
justify-content : flex-end ;
43
42
gap : 5px ;
43
+ margin-inline-start : auto ;
44
44
45
45
.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
47
49
}
48
50
}
49
51
}
Original file line number Diff line number Diff line change @@ -51,6 +51,13 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
51
51
mask-image : url (' $(res)/img/element-icons/circle-sending.svg' );
52
52
}
53
53
54
+ .mx_EventTile_content {
55
+ & .mx_EditMessageComposer {
56
+ // Make sure the formatting bar is visible
57
+ overflow : visible ;
58
+ }
59
+ }
60
+
54
61
& [data-layout = group ] {
55
62
.mx_EventTile_line {
56
63
line-height : var (--GroupLayout-EventTile-line-height );
You can’t perform that action at this time.
0 commit comments