mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
mobile: avoid clunky animation when switching to mobile #210
This commit is contained in:
parent
17964b9b8d
commit
30bf0250e4
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
|||
</style>
|
||||
{{- partial "custom-header.html" . }}
|
||||
</head>
|
||||
<body class="default-animation" data-url="/">
|
||||
<body data-url="/">
|
||||
<div id="body default-animation" style="margin-left:0px;">
|
||||
<div id="sidebar-overlay"></div>
|
||||
<main id="body-inner" class="chapter">
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
{{- partial "stylesheet.html" . }}
|
||||
{{- partial "custom-header.html" . }}
|
||||
</head>
|
||||
<body class="default-animation" data-url="{{ .RelPermalink }}">
|
||||
<body data-url="{{ .RelPermalink }}">
|
||||
<div id="body" class="default-animation">
|
||||
<div id="sidebar-overlay"></div>
|
||||
<div id="toc-overlay"></div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<div class="progress">
|
||||
<div class="default-animation progress">
|
||||
<div class="wrapper">
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue