Skip to content

Commit

Permalink
Merge pull request #5911 from nextcloud-libraries/backport/5905/next
Browse files Browse the repository at this point in the history
[next] fix(NcCounterButton): adjust min-width to make it a right circle
  • Loading branch information
Antreesy authored Aug 5, 2024
2 parents 3132674 + 6c21089 commit d867b22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/NcCounterBubble/NcCounterBubble.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@ export default {
overflow: hidden;
width: fit-content;
max-width: var(--default-clickable-area);
min-width: calc(1lh + 2 * var(--default-grid-baseline)); // Make it not narrower than a circle
text-align: center;
text-overflow: ellipsis;
line-height: 1em;
padding: 4px 6px;
padding: var(--default-grid-baseline);
border-radius: var(--border-radius-pill);
background-color: var(--color-primary-element-light);
font-weight: bold;
Expand Down

0 comments on commit d867b22

Please sign in to comment.