We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60b9259 commit b89e8feCopy full SHA for b89e8fe
src/lib/app.scss
@@ -52,20 +52,20 @@ html {
52
@apply h-4 w-auto inline;
53
}
54
55
- .d-spoiler {
56
- @apply bg-base-content text-base-content;
+ .d-spoiler, .d-spoiler * {
+ @apply bg-base-content text-base-content inline-block px-1;
57
border-radius: 4px;
58
transition-delay: 6000s;
59
+ cursor: pointer;
60
+ }
61
+ .d-spoiler::selection, .d-spoiler::selection * {
62
+ @apply text-base-content;
63
+ background-color: transparent;
64
65
- &::selection {
- @apply text-base-content;
- background-color: transparent;
- }
-
- &:active {
66
- @apply bg-base-300;
67
- transition-delay: 0s;
68
+ .d-spoiler:active, .d-spoiler:active * {
+ @apply bg-base-300;
+ transition-delay: 0s;
69
70
71
code {
0 commit comments