Skip to content

Commit 45571e4

Browse files
committed
Cleaner CSS
1 parent 5b7cbcf commit 45571e4

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/wp-admin/css/on-this-day.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@
2222
exposes at runtime (see src/wp-admin/css/colors/_tokens.scss), so the widget
2323
follows the user's selected admin color scheme (Blue, Modern, Coffee, etc.).
2424
Fallback values match the classic "Fresh" scheme.
25-
26-
Neutrals: the Figma design-system grays are intentionally NOT exposed as
27-
CSS custom properties, so we reuse the classic wp-admin palette already
28-
shared by dashboard.css / site-health.css for visual consistency.
2925
----------------------------------------------------------------------------- */
3026

3127
#dashboard_on_this_day,
@@ -72,7 +68,6 @@
7268
/* -----------------------------------------------------------------------------
7369
2. Postbox chrome
7470
----------------------------------------------------------------------------- */
75-
7671
#dashboard_on_this_day {
7772
& .inside {
7873
margin: 0;
@@ -94,7 +89,6 @@
9489
/* -----------------------------------------------------------------------------
9590
3. Widget body — title
9691
----------------------------------------------------------------------------- */
97-
9892
.on-this-day-title-main {
9993
display: inline-flex;
10094
align-items: center;
@@ -136,7 +130,6 @@
136130
/* -----------------------------------------------------------------------------
137131
3. Widget body — intro + timeline
138132
----------------------------------------------------------------------------- */
139-
140133
.on-this-day-intro {
141134
margin: 0;
142135
padding: 14px 16px 12px;
@@ -230,7 +223,6 @@
230223
/* -----------------------------------------------------------------------------
231224
3. Widget body — post card
232225
----------------------------------------------------------------------------- */
233-
234226
.on-this-day-post-list {
235227
display: flex;
236228
flex-direction: column;
@@ -374,7 +366,6 @@
374366
/* -----------------------------------------------------------------------------
375367
3. Widget body — empty state
376368
----------------------------------------------------------------------------- */
377-
378369
.on-this-day-empty {
379370
text-align: center;
380371
padding: 26px 20px 22px;
@@ -414,7 +405,6 @@
414405
/* -----------------------------------------------------------------------------
415406
4. Adaptive rules
416407
----------------------------------------------------------------------------- */
417-
418408
@media (prefers-reduced-motion: reduce) {
419409
.on-this-day-post {
420410
transition: none;

0 commit comments

Comments
 (0)