diff options
author | Wang Chucheng <wangchucheng@outlook.com> | 2020-12-09 18:58:44 +0300 |
---|---|---|
committer | Wang Chucheng <wangchucheng@outlook.com> | 2020-12-09 18:58:44 +0300 |
commit | 6638e3a102cb8e678dfed77c926f2498cc05d583 (patch) | |
tree | e810d93754476291deaacef3df19d32201d1cccf /assets | |
parent | e943060162dc4a3e91be78a060b0af185476ad7d (diff) |
fix: jumping scrollbar
Closes #14
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/base.css | 2 | ||||
-rw-r--r-- | assets/css/tailwind.config.js | 3 |
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)', |