mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
fix header
Signed-off-by: liuboaibc <kukudehero@gmail.com>
This commit is contained in:
parent
bb11b586b7
commit
1aaaa583ab
|
|
@ -12,7 +12,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|||
<!-- End Google Tag Manager (noscript) -->
|
||||
{{ end }}
|
||||
{{- partial "header.html" . -}}
|
||||
<main class='main-section padding'>
|
||||
<main class='main-section'>
|
||||
{{- block "main" . }}{{- end }}
|
||||
</main>
|
||||
{{- partial "footer.html" . -}}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|||
<!-- End Google Tag Manager (noscript) -->
|
||||
{{ end }}
|
||||
{{- partial "header.html" . -}}
|
||||
<main class='main-section padding'>
|
||||
<main class='main-section'>
|
||||
<section class='section-1 bg-cover'>
|
||||
<div class="common-layout">
|
||||
{{ partial "breadcrumb.html" . }}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|||
<!-- End Google Tag Manager (noscript) -->
|
||||
{{ end }}
|
||||
{{ partial "header.html" $context }}
|
||||
<section class="main-section padding">
|
||||
<section class="main-section">
|
||||
<div class="common-layout">
|
||||
<div class='breadcrumb'>
|
||||
{{ $section := $context.FirstSection }}
|
||||
|
|
|
|||
|
|
@ -146,6 +146,14 @@
|
|||
});
|
||||
}
|
||||
|
||||
var bindRemovePadding = function() {
|
||||
var close = $('#close-join')
|
||||
if (close.length > 0) {
|
||||
$('.main-section').addClass('padding')
|
||||
}
|
||||
}
|
||||
|
||||
bindRemovePadding()
|
||||
// bindLayLoad()
|
||||
bindSubmit()
|
||||
bindHideMessage()
|
||||
|
|
|
|||
Loading…
Reference in New Issue