Fix layout shift when renaming a channel (#3946)
This PR fixes the layout shift that would occur in the channel list when opening a rename editor for a channel. Release Notes: - Fixed layout shift when opening a rename editor for a channel.
This commit is contained in:
parent
72de75dd45
commit
5e401e4550
1 changed files with 1 additions and 6 deletions
|
@ -2398,12 +2398,7 @@ impl CollabPanel {
|
|||
{
|
||||
item.child(Label::new(pending_name))
|
||||
} else {
|
||||
item.child(
|
||||
div()
|
||||
.w_full()
|
||||
.py_1() // todo!() @nate this is a px off at the default font size.
|
||||
.child(self.channel_name_editor.clone()),
|
||||
)
|
||||
item.child(self.channel_name_editor.clone())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue