-
-
Notifications
You must be signed in to change notification settings - Fork 828
Conversation
res/css/views/rooms/_RoomHeader.pcss
Outdated
/* Spacing of 64px between the topic and the buttons, but we have | ||
to account for the gap of the flex items */ | ||
padding-right: var(--cpd-space-13x); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woops, you're very correct!
The padding ought to be applied to both the heading and the topic
res/css/views/rooms/_RoomHeader.pcss
Outdated
/* Spacing of 64px between the topic and the buttons, but we have | ||
to account for the gap of the flex items */ | ||
padding-right: var(--cpd-space-13x); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The gap on the flex parent is --cpd-space-3x
which is 12px
. It all adds up to 64px. Might cahnge the owrding of the comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The gap being so big in narrow windows looks like waste a lot of space but at least its consistent, lgtm other than comment clarity
Fixes a lot of UI feedback shared as part of https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=1609-8863&mode=design&t=hw2eZG1msBjOombN-11
Fixes element-hq/element-web#26346
Checklist
This change is marked as an internal change (Task), so will not be included in the changelog.