mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 17:13:02 -04:00
💄 Add smooth scrolling behaviour
This commit is contained in:
@@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
- Upgrade to Tailwind v3.0.12
|
- Upgrade to Tailwind v3.0.12
|
||||||
- Author images are now Hugo assets
|
- Author images are now Hugo assets
|
||||||
- Required Hugo version is now 0.87.0 or later
|
- Required Hugo version is now 0.87.0 or later
|
||||||
|
- Minor style and layout improvements
|
||||||
|
|
||||||
## [1.6.2] - 2022-01-07
|
## [1.6.2] - 2022-01-07
|
||||||
|
|
||||||
|
|||||||
@@ -2022,6 +2022,10 @@ body a, body button {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.scroll-smooth {
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
.rounded-full {
|
.rounded-full {
|
||||||
border-radius: 9999px;
|
border-radius: 9999px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
{{- else -}}
|
{{- else -}}
|
||||||
ltr
|
ltr
|
||||||
{{- end }}"
|
{{- end }}"
|
||||||
{{ if .Site.Params.darkMode | default false }}class="dark"{{ end }}
|
class="scroll-smooth {{ if .Site.Params.darkMode | default false }}dark{{ end }}"
|
||||||
>
|
>
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
<body
|
<body
|
||||||
|
|||||||
Reference in New Issue
Block a user