Fix for issue: https://linear.app/comm/issue/ENG-1473/inbox-spacing-regression-on-safari-on-web
I used CSS child selector to avoid modifying reusable Tabs component
Modified Tabs component CSS by making it fill the container.
Details
Details
- Reviewers
tomek atul ashoat - Commits
- rCOMMa392b9af4a6e: [web] Fix: Inbox spacing regression
Log in as a user that doesn't have any thread (or first message in the thread) with long name. The chat list should now fill the container.
Tested on Chrome, Safari and Firefox.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- jacek/fix-regression
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
web/chat/chat-tabs.css | ||
---|---|---|
8–15 | Targeting all the children sounds risky... maybe we can add style to .tabItem? |
web/chat/chat-tabs.css | ||
---|---|---|
8–15 | The .tabItem class is not used now. The only child of div.container is Tabs component at the moment, which has its own styles (and I didn't want to change them, because it would affect all Tabs in the app). |
web/chat/chat-tabs.css | ||
---|---|---|
8–15 | After discussing with Tomek we agreed, that having flex: 1 in all tabs in app is ok, and I didn't notice any problems with existing usages of tabs after the change. |