Commit 395ba6a
authored
fix(committees): truncate long meeting descriptions on group overview (#604)
Long URLs in meeting descriptions (e.g. Google Docs agenda links) were
overflowing the dashboard meeting card and forcing horizontal page scroll
on the group overview. The 'truncate' class on the description `<p>`
was being defeated by the default min-width: auto on flex/grid items
up the parent chain.
- Add min-w-0 to the description <p> so its overflow:hidden actually clips
- Add min-w-0 to the right-column grid item so the 1fr column doesn't
expand to fit content
Signed-off-by: Nuno Eufrasio <nmeufrasio@gmail.com>1 parent ade5237 commit 395ba6a
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- apps/lfx-one/src/app/modules
- committees/components/committee-overview
- dashboards/components/dashboard-meeting-card
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments