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
This commit is contained in:
@@ -21,6 +21,15 @@
|
|||||||
padding: 0 30px 0 0;
|
padding: 0 30px 0 0;
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
min-height: 152px;
|
min-height: 152px;
|
||||||
|
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
* Remove the height of the H2 element pseudo-class and set the appropriate spacing
|
||||||
|
* to avoid mistakenly overriding the styles of other elements
|
||||||
|
*/
|
||||||
|
.launch-card h2::before {
|
||||||
|
margin-top: 1rem ;
|
||||||
|
height: 0 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gridPage p {
|
.gridPage p {
|
||||||
|
|||||||
Reference in New Issue
Block a user