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

github.com/negrel/hugo-theme-pico.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAlexandre Negrel <negrel.dev@protonmail.com>2020-12-24 00:03:41 +0300
committerAlexandre Negrel <negrel.dev@protonmail.com>2020-12-24 00:03:41 +0300
commitff3f7df7ec72e71118d9a632751d5be3f85b2fed (patch)
tree50e8284a1525b2ce8081cafb7aea73944a87c476 /assets
parentf516c80ee357d5807832f0c17e06781997528677 (diff)
fixing tailwindcss 2.0 breaking change
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/_position.sass6
-rw-r--r--assets/sass/_theme.sass2
2 files changed, 4 insertions, 4 deletions
diff --git a/assets/sass/_position.sass b/assets/sass/_position.sass
index f4aa69e..57e8c05 100644
--- a/assets/sass/_position.sass
+++ b/assets/sass/_position.sass
@@ -2,7 +2,7 @@
@variants responsive
.absolute-center
- @apply .absolute
- @apply .top-1/2
- @apply .left-1/2
+ @apply absolute
+ @apply top-1/2
+ @apply left-1/2
transform: translate(-50%, -50%)
diff --git a/assets/sass/_theme.sass b/assets/sass/_theme.sass
index 8394386..4583808 100644
--- a/assets/sass/_theme.sass
+++ b/assets/sass/_theme.sass
@@ -11,7 +11,7 @@ html
scroll-behavior: auto
*::selection
- @apply .bg-green-200
+ @apply bg-green-200
h1
@apply text-3xl font-serif my-6 tracking-tight