Skip to content

Commit 6ae0d12

Browse files
committed
fix some styling
1 parent 181685e commit 6ae0d12

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

src/components/ChangelogSnippet/ChangelogCard.module.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@
2727
}
2828
}
2929

30+
/* Disable hover background when disableHover is true */
31+
.cardWrapper[data-disable-hover="true"]:hover {
32+
background-color: transparent !important;
33+
}
34+
35+
.cardWrapper.withBorder[data-disable-hover="true"]:hover {
36+
background-color: transparent !important;
37+
}
38+
39+
/* Remove padding when disableHover is true */
40+
.cardWrapper[data-disable-hover="true"] .card {
41+
padding: 0 !important;
42+
}
43+
3044
/* Card Container */
3145
.card {
3246
display: flex;

src/pages/changelog/[...id].astro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,11 @@ const pageTitle = `Changelog and Releases | ${CONFIG.SITE.title}`
102102
max-width: 1264px;
103103
width: 100%;
104104
margin: 0 auto;
105-
padding: 100px 0;
105+
padding: 100px var(--space-6x);
106106
}
107107

108108
.changelog-header {
109-
margin-bottom: var(--space-8x);
110-
padding: 0 var(--space-6x);
109+
margin-bottom: var(--space-16x);
111110
}
112111

113112
.back-link {

0 commit comments

Comments
 (0)