File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ export function ChatRoom({
143
143
}
144
144
145
145
function renderFilterRecent ( ) {
146
+ if ( messages == null || messages . size <= 5 ) {
147
+ return null ;
148
+ }
146
149
return (
147
150
< Tooltip title = "Only show recent threads." >
148
151
< Select
@@ -224,7 +227,7 @@ export function ChatRoom({
224
227
}
225
228
226
229
function render_button_row ( ) {
227
- if ( messages == null ) {
230
+ if ( messages == null || messages . size <= 5 ) {
228
231
return null ;
229
232
}
230
233
return (
@@ -235,9 +238,6 @@ export function ChatRoom({
235
238
style = { {
236
239
margin : 0 ,
237
240
width : "100%" ,
238
- ...( messages . size >= 2
239
- ? undefined
240
- : { visibility : "hidden" , height : 0 } ) ,
241
241
} }
242
242
/>
243
243
{ renderFilterRecent ( ) }
Original file line number Diff line number Diff line change @@ -351,8 +351,8 @@ export default function MultiMarkdownInput({
351
351
color : COLORS . GRAY_M ,
352
352
...( mode == "editor" || hideHelp
353
353
? {
354
- position : "absolute " ,
355
- right : 0 ,
354
+ float : "right " ,
355
+ position : "relative" ,
356
356
zIndex : 1 ,
357
357
}
358
358
: { float : "right" } ) ,
You can’t perform that action at this time.
0 commit comments