Skip to content

Commit 23bed69

Browse files
authored
MSD Account Notifications: Fix site card UI responsiveness (#107454)
1 parent 7a3f3f4 commit 23bed69

File tree

2 files changed

+31
-10
lines changed

2 files changed

+31
-10
lines changed
Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,42 @@
1+
@import "@wordpress/base-styles/breakpoints";
2+
@import '@wordpress/base-styles/variables';
3+
14
.site-list-settings {
25
.components-tab-panel__tabs {
36
border-bottom: solid 1px #ddd;
47
}
8+
9+
&__card-placeholder {
10+
height: 112px;
11+
}
12+
513
&__site-settings {
6-
margin-left: -24px;
7-
margin-right: -24px;
14+
margin-inline-start: -$grid-unit-20;
15+
margin-inline-end: -$grid-unit-20;
816
}
17+
918
.components-tab-panel__tabs, .components-tab-panel__tab-content {
10-
padding-left: 24px;
11-
padding-right: 24px;
19+
padding-inline-start: $grid-unit-20;
20+
padding-inline-end: $grid-unit-20;
1221
}
22+
1323
.components-tab-panel__tab-content {
14-
padding-top: 16px;
24+
padding-top: $grid-unit-10;
1525
}
16-
&__card-placeholder {
17-
height: 112px;
18-
}
19-
}
2026

27+
@include break-medium {
28+
&__site-settings {
29+
margin-inline-start: -$grid-unit-30;
30+
margin-inline-end: -$grid-unit-30;
31+
}
2132

33+
.components-tab-panel__tabs, .components-tab-panel__tab-content {
34+
padding-inline-start: $grid-unit-30;
35+
padding-inline-end: $grid-unit-30;
36+
}
37+
38+
.components-tab-panel__tab-content {
39+
padding-top: $grid-unit-20;
40+
}
41+
}
42+
}

client/dashboard/me/notifications-sites/site-preview/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
}
1919

20-
&__url {
20+
&__url a {
2121
color: $gray-700;
2222
display: flex;
2323
flex: 1 1 100%;

0 commit comments

Comments
 (0)