mobile: avoid clunky animation when switching to mobile #210

This commit is contained in:
Sören Weber 2022-03-13 11:49:56 +01:00
parent 17964b9b8d
commit 30bf0250e4
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@
</style> </style>
{{- partial "custom-header.html" . }} {{- partial "custom-header.html" . }}
</head> </head>
<body class="default-animation" data-url="/"> <body data-url="/">
<div id="body default-animation" style="margin-left:0px;"> <div id="body default-animation" style="margin-left:0px;">
<div id="sidebar-overlay"></div> <div id="sidebar-overlay"></div>
<main id="body-inner" class="chapter"> <main id="body-inner" class="chapter">

View file

@ -24,7 +24,7 @@
{{- partial "stylesheet.html" . }} {{- partial "stylesheet.html" . }}
{{- partial "custom-header.html" . }} {{- partial "custom-header.html" . }}
</head> </head>
<body class="default-animation" data-url="{{ .RelPermalink }}"> <body data-url="{{ .RelPermalink }}">
<div id="body" class="default-animation"> <div id="body" class="default-animation">
<div id="sidebar-overlay"></div> <div id="sidebar-overlay"></div>
<div id="toc-overlay"></div> <div id="toc-overlay"></div>

View file

@ -1,5 +1,5 @@
<div class="progress"> <div class="default-animation progress">
<div class="wrapper"> <div class="wrapper">
{{ .TableOfContents }} {{ .TableOfContents }}
</div> </div>