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:
@@ -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())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user