Conversation
| } | ||
|
|
||
| &--active { | ||
| z-index: 1; /* Make the active button's border take precedence. */ |
There was a problem hiding this comment.
Doesn't make sense, don't know why it's needed at all.
Dist CSS Diffdiff --git a/packages/core/dist/css/default/default.css b/packages/core/dist-branch/css/default/default.css
index 4266566..1e0eba0 100644
--- a/packages/core/dist/css/default/default.css
+++ b/packages/core/dist-branch/css/default/default.css
@@ -293,7 +293,7 @@
--ifm-button-border-radius: calc(
var(--ifm-global-radius) * var(--ifm-button-size-multiplier)
);
- --ifm-button-group-margin: 2px;
+ --ifm-button-group-spacing: 2px;
--ifm-card-background-color: var(--ifm-background-surface-color);
--ifm-card-border-radius: calc(var(--ifm-global-radius) * 2);
--ifm-card-horizontal-spacing: var(--ifm-global-spacing);
@@ -2006,12 +2006,12 @@ hr {
.button-group {
display: inline-flex;
+ gap: var(--ifm-button-group-spacing);
}
.button-group > .button:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
- margin-left: var(--ifm-button-group-margin);
}
.button-group > .button:not(:last-child) {
@@ -2019,10 +2019,6 @@ hr {
border-top-right-radius: 0;
}
-.button-group > .button--active {
- z-index: 1; /* Make the active button's border take precedence. */
- }
-
.button-group--block {
display: flex;
justify-content: stretch; |
|
Size Change: -684 B (0%) Total Size: 569 kB
ℹ️ View Unchanged
|
✅ Deploy Preview for infima ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Josh-Cena
left a comment
There was a problem hiding this comment.
Support for gap seems inadequate: only 88%. Should we have some policies about what percentage we aim to support? (I also don't know if it can be mitigated through autoprefixing/etc. but from the dist CSS it seems unlikely)
|
It's a pretty big support (eg |
|
OK let's do this 👍
|
No description provided.