This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 3 files changed +14
-8
lines changed
res/css/views/rooms/wysiwyg_composer
src/components/views/rooms/wysiwyg_composer/components
3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,3 @@ limitations under the License.
84
84
border-color : $quaternary-content ;
85
85
}
86
86
}
87
-
88
- .mx_SendWysiwygComposer_AutoCompleteWrapper {
89
- position : relative;
90
- > .mx_Autocomplete {
91
- min-width : 100 % ;
92
- }
93
- }
Original file line number Diff line number Diff line change @@ -146,3 +146,16 @@ limitations under the License.
146
146
color : $tertiary-content ;
147
147
}
148
148
}
149
+
150
+ .mx_WysiwygComposer_AutoCompleteWrapper {
151
+ position : relative;
152
+
153
+ /* Due to the fact that editing a message now has a larger amount of grey
154
+ colour above it (due to the rich text buttons above the composer), we need
155
+ to give the autocomplete a bit more visual separation by using a border.
156
+ */
157
+ > .mx_Autocomplete {
158
+ border : 1 px solid $quinary-content ;
159
+ border-radius : 8 px ;
160
+ }
161
+ }
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ const WysiwygAutocomplete = forwardRef(
119
119
}
120
120
121
121
return room ? (
122
- < div className = "mx_SendWysiwygComposer_AutoCompleteWrapper " data-testid = "autocomplete-wrapper" >
122
+ < div className = "mx_WysiwygComposer_AutoCompleteWrapper " data-testid = "autocomplete-wrapper" >
123
123
< Autocomplete
124
124
ref = { ref }
125
125
query = { buildQuery ( suggestion ) }
You can’t perform that action at this time.
0 commit comments