Skip to content

Commit d867b22

Browse files
authored
Merge pull request #5911 from nextcloud-libraries/backport/5905/next
[next] fix(NcCounterButton): adjust min-width to make it a right circle
2 parents 3132674 + 6c21089 commit d867b22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/NcCounterBubble/NcCounterBubble.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,11 @@ export default {
7676
overflow: hidden;
7777
width: fit-content;
7878
max-width: var(--default-clickable-area);
79+
min-width: calc(1lh + 2 * var(--default-grid-baseline)); // Make it not narrower than a circle
7980
text-align: center;
8081
text-overflow: ellipsis;
8182
line-height: 1em;
82-
padding: 4px 6px;
83+
padding: var(--default-grid-baseline);
8384
border-radius: var(--border-radius-pill);
8485
background-color: var(--color-primary-element-light);
8586
font-weight: bold;

0 commit comments

Comments
 (0)