mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 01:01:45 +00:00
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 {
|
.container {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding-bottom: var(--cpd-space-3x);
|
padding-bottom: var(--cpd-space-3x);
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
|||||||
+13
@@ -87,3 +87,16 @@ export const NoComposeMenu: Story = {
|
|||||||
displayComposeMenu: false,
|
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