Room list: avoid header overflowing when too long (#32645)
* fix(room list): make ellipsis works on room list title Regression due to https://github.com/element-hq/element-web/pull/32421 * test(room list): add non regression test
This commit is contained in:
BIN
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
+1
@@ -13,6 +13,7 @@
|
||||
.container {
|
||||
flex: 1;
|
||||
padding-bottom: var(--cpd-space-3x);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
||||
+13
@@ -87,3 +87,16 @@ export const NoComposeMenu: Story = {
|
||||
displayComposeMenu: false,
|
||||
},
|
||||
};
|
||||
|
||||
export const LongTitle: Story = {
|
||||
decorators: [
|
||||
(Story) => (
|
||||
<div style={{ width: "200px" }}>
|
||||
<Story />
|
||||
</div>
|
||||
),
|
||||
],
|
||||
args: {
|
||||
title: "Loooooooooooooooooooooooooooooooooooooong title",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user