Skip to content

Commit 97849f9

Browse files
authored
fix home docs page button on mobile & tablet (#19646)
1 parent d7e94ea commit 97849f9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

assets/sass/_base.sass

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,9 @@ dd
10521052
a.issue
10531053
margin-left: 0px
10541054

1055+
.gridPageHome .flyout-button
1056+
display: none
1057+
10551058
.feedback--no
10561059
margin-left: 1em
10571060

content/en/docs/home/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Kubernetes Documentation
55
noedit: true
66
cid: docsHome
77
layout: docsportal_home
8-
class: gridPage
8+
class: gridPage gridPageHome
99
linkTitle: "Home"
1010
main_menu: true
1111
weight: 10

layouts/partials/css.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{{- if .Params.deprecated }}
2323
<link rel="stylesheet" href="{{ "css/deprecation-warning.css" | relURL }}">
2424
{{- end }}
25-
{{- if eq .Params.class "gridPage" }}
25+
{{- if or (eq .Params.class "gridPage") (eq .Params.class "gridPage gridPageHome") }}
2626
<link rel="stylesheet" href="{{ "css/gridpage.css" | relURL }}">
2727
{{- end }}
2828
{{- if eq .Params.class "training" }}

0 commit comments

Comments
 (0)