This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-36
lines changed Expand file tree Collapse file tree 3 files changed +8
-36
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ limitations under the License.
16
16
*/
17
17
18
18
.mx_EditMessageComposer {
19
-
19
+ display : flex ;
20
+ flex-direction : column ;
21
+ gap : 5px ;
20
22
padding : 3px ;
21
- // this is to try not make the text move but still have some
22
- // padding around and in the editor.
23
- // Actual values from fiddling around in inspector
24
- margin : -7px -10px -5px -10px ;
25
- overflow : visible !important ; // override mx_EventTile_content
23
+
24
+ // Make sure the formatting bar is visible
25
+ overflow : visible !important ; // override mx_EventTile_content
26
26
27
27
.mx_BasicMessageComposer_input {
28
28
border-radius : 4px ;
@@ -40,23 +40,10 @@ limitations under the License.
40
40
display : flex ;
41
41
flex-direction : row ;
42
42
justify-content : flex-end ;
43
- padding : 5px ;
44
- position : absolute ;
45
- left : 0 ;
46
- background : $header-panel-bg-color ;
47
- z-index : 100 ;
48
- right : 0 ;
49
- margin : 0 -110px 0 0 ;
50
- padding-right : 147px ;
43
+ gap : 5px ;
51
44
52
45
.mx_AccessibleButton {
53
- margin-left : 5px ;
54
46
padding : 5px 40px ;
55
47
}
56
48
}
57
49
}
58
-
59
- .mx_EventTile_last .mx_EditMessageComposer_buttons {
60
- position : static ;
61
- margin-right : -147px ;
62
- }
Original file line number Diff line number Diff line change @@ -423,13 +423,6 @@ limitations under the License.
423
423
}
424
424
}
425
425
426
- .mx_EditMessageComposer_buttons {
427
- position : static ;
428
- padding : 0 ;
429
- margin : 8px 0 0 ;
430
- background : transparent ;
431
- }
432
-
433
426
.mx_ReactionsRow {
434
427
margin-right : -18px ;
435
428
margin-left : -9px ;
Original file line number Diff line number Diff line change @@ -121,15 +121,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
121
121
122
122
& .mx_EventTile_continuation {
123
123
padding-top : 0px !important ;
124
-
125
- & .mx_EventTile_isEditing {
126
- padding-top : 5px !important ;
127
- margin-top : -5px ;
128
- }
129
- }
130
-
131
- & .mx_EventTile_isEditing {
132
- background-color : $header-panel-bg-color ;
133
124
}
134
125
135
126
.mx_DisambiguatedProfile {
@@ -177,6 +168,7 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
177
168
/* this is used for the tile for the event which is selected via the URL.
178
169
* TODO: ultimately we probably want some transition on here.
179
170
*/
171
+ & .mx_EventTile_isEditing > .mx_EventTile_line ,
180
172
& .mx_EventTile_selected > .mx_EventTile_line {
181
173
box-shadow : inset calc (50px + $selected-message-border-width ) 0 0 -50px $accent ;
182
174
background-color : $event-selected-color ;
You can’t perform that action at this time.
0 commit comments