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
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Metric cards: Remove the grey box that appears inside a metric card on hover when a newer version of the WordPress UI library is loaded.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@
background-color: var(--wpds-color-background-surface-brand);
}

/* The Tab paints its hover fill and focus ring on `::after`, sized for a 48px
* tab. Stretch it to the card so the ring follows the card edge, and drop its
* fill, which the card fill above replaces. */
.tab::after {
inset: 0;
border-radius: inherit;
outline-offset: calc(-1 * var(--wpds-border-width-focus));
background-color: transparent;
box-shadow: none;
}

/* A lone metric has nothing to switch to: it reads as the widget's headline
* figure rather than a control, so it drops the card fill and the pointer. */
.singleMetric .tab {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: bugfix

Premium Analytics: Remove the grey box that appears inside a metric card on hover when a newer version of the WordPress UI library is loaded.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Metric cards: Remove the grey box that appears inside a metric card on hover when a newer version of the WordPress UI library is loaded.
Loading