Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
--_button-trailing-icon-size: 14px;

position: relative;
/* The component owns its surface; suppress native WebKit button highlights. */
-webkit-appearance: none;
appearance: none;
display: inline-flex;
align-items: center;
justify-content: center;
Expand Down Expand Up @@ -293,6 +296,11 @@
}

@media (prefers-reduced-motion: reduce) {
.button,
.button::before {
transition: none;
}

.button[data-loading="true"] .progress {
animation: none;
border-inline-end-color: currentColor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
--_icon-button-size: var(--openbitfun-control-height-sm);

position: relative;
/* Match Button: the pseudo-element owns hover feedback, not the native control. */
-webkit-appearance: none;
appearance: none;
box-sizing: border-box;
display: inline-flex;
flex: 0 0 auto;
Expand Down Expand Up @@ -175,6 +178,7 @@

@media (prefers-reduced-motion: reduce) {
.button,
.button::before,
.progress {
transition: none;
}
Expand Down
Loading