fix: Hide show more labels button when there's no overflow (#6097)

This commit is contained in:
Nithin David Thomas
2022-12-19 22:24:20 +05:30
committed by GitHub
parent 022d0b0ea3
commit d1a26e80f4
3 changed files with 32 additions and 7 deletions

View File

@@ -155,12 +155,20 @@ $default-button-height: 4.0rem;
// Sizes
&.tiny {
height: var(--space-medium);
.icon+.button__content {
padding-left: var(--space-micro);
}
}
&.small {
height: var(--space-large);
padding-bottom: var(--space-smaller);
padding-top: var(--space-smaller);
.icon+.button__content {
padding-left: var(--space-smaller);
}
}
&.large {
@@ -190,6 +198,10 @@ $default-button-height: 4.0rem;
height: auto;
margin: 0;
padding: 0;
&:hover {
text-decoration: underline;
}
}
}