-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(NcChip): adjust border radius to new design #5924
Conversation
Signed-off-by: Marco Ambrosini <[email protected]>
Should we really do this? The avatar is the main focus of the userbubble, at least from my point of view having it not rounded looks weird because of the now visible corners around the avatar |
@@ -190,7 +190,7 @@ const onClose = () => { | |||
<style scoped lang="scss"> | |||
.nc-chip { | |||
--chip-size: 24px; | |||
--chip-radius: calc(var(--chip-size) / 2); | |||
--chip-radius: var(--border-radius-small); |
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.
Does not work as this does not exist on Nextcloud 28 and 29, so the fallback to current design is needed.
Good point @susnux, then let's keep userbubble as is and only change chip |
TBH I also like chips in pills layout more. They are small and often have rounded avatar as user bubble, for example, when they are used to select users. |
All right, let's close |
🏚️ Before
🏡 After