Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorWang Chucheng <wangchucheng@outlook.com>2020-12-09 18:58:44 +0300
committerWang Chucheng <wangchucheng@outlook.com>2020-12-09 18:58:44 +0300
commit6638e3a102cb8e678dfed77c926f2498cc05d583 (patch)
treee810d93754476291deaacef3df19d32201d1cccf /assets
parente943060162dc4a3e91be78a060b0af185476ad7d (diff)
fix: jumping scrollbar
Closes #14
Diffstat (limited to 'assets')
-rw-r--r--assets/css/base.css2
-rw-r--r--assets/css/tailwind.config.js3
2 files changed, 4 insertions, 1 deletions
diff --git a/assets/css/base.css b/assets/css/base.css
index c304d55..98a7170 100644
--- a/assets/css/base.css
+++ b/assets/css/base.css
@@ -1,4 +1,4 @@
-:root{
+:root {
@apply font-serif bg-primary-bg text-primary-text;
--color-eureka: #38B2AC;
--color-primary-bg: rgba(242,242,247,1.00);
diff --git a/assets/css/tailwind.config.js b/assets/css/tailwind.config.js
index e548118..7e28272 100644
--- a/assets/css/tailwind.config.js
+++ b/assets/css/tailwind.config.js
@@ -28,6 +28,9 @@ module.exports = {
'32': '8rem',
'48': '12rem',
},
+ padding: {
+ 'scrollbar': 'calc(100vw - 100%)',
+ },
colors: {
'eureka': 'var(--color-eureka)',
'primary-bg': 'var(--color-primary-bg)',