Skip to content

Commit 6c21089

Browse files
ShGKmebackportbot[bot]
authored andcommitted
fix(NcCounterBubble): adjust min-width to a circle
Signed-off-by: Grigorii K. Shartsev <[email protected]>
1 parent 3132674 commit 6c21089

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)