Skip to content

Commit 8b4fd02

Browse files
Connectors: Improve responsive layout for small viewports (#76231)
Adjust the connectors page responsive styles at 480px breakpoint: - Reduce outer padding from 16px to 8px - Reduce inner card padding from 16px to 12px - Stack badge and action button vertically Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: gziolo <gziolo@git.wordpress.org> Co-authored-by: jorgefilipecosta <jorgefilipecosta@git.wordpress.org>
1 parent 6a9a2d7 commit 8b4fd02

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

routes/connectors-home/style.scss

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,22 @@
2525
}
2626

2727
@media (max-width: 480px) {
28-
padding: 16px;
28+
padding: 8px;
2929

3030
.components-item {
31-
padding: 16px;
31+
padding: 12px;
3232

33-
> .components-v-stack > .components-h-stack:first-child svg {
34-
width: 32px;
35-
height: 32px;
33+
> .components-v-stack > .components-h-stack:first-child {
34+
svg {
35+
width: 32px;
36+
height: 32px;
37+
}
38+
39+
// Stack badge and action button vertically on small screens.
40+
> .components-h-stack:last-child {
41+
flex-direction: column;
42+
align-items: flex-end;
43+
}
3644
}
3745
}
3846
}

0 commit comments

Comments
 (0)