Skip to content

Commit 04e3070

Browse files
authored
Fix hyperlink to CNCF on https://k8s.io/docs/home/ (#33038)
* [bugfix/fix-cncf-hyperlink-on-home] fix🐛: Explicitly set the margin-top property * [bugfix/fix-cncf-hyperlink-on-home] fix🐛: remove important * [bugfix/fix-cncf-hyperlink-on-home] format🥚: Add comments to indicate the role of css
1 parent 53803f0 commit 04e3070

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

static/css/gridpage.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@
2121
padding: 0 30px 0 0;
2222
margin-bottom: 50px;
2323
min-height: 152px;
24+
25+
}
26+
/*
27+
* Remove the height of the H2 element pseudo-class and set the appropriate spacing
28+
* to avoid mistakenly overriding the styles of other elements
29+
*/
30+
.launch-card h2::before {
31+
margin-top: 1rem ;
32+
height: 0 ;
2433
}
2534

2635
.gridPage p {

0 commit comments

Comments
 (0)