File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
src/Elastic.Documentation.Site/Assets Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1+ import { initAppliesSwitch } from './applies-switch'
12import { initCopyButton } from './copybutton'
23import { initHighlight } from './hljs'
34import { initImageCarousel } from './image-carousel'
@@ -6,7 +7,6 @@ import { openDetailsWithAnchor } from './open-details-with-anchor'
67import { initNav } from './pages-nav'
78import { initSmoothScroll } from './smooth-scroll'
89import { initTabs } from './tabs'
9- import { initAppliesSwitch } from './applies-switch'
1010import { initTocNav } from './toc-nav'
1111import 'htmx-ext-head-support'
1212import 'htmx-ext-preload'
Original file line number Diff line number Diff line change 11@layer components {
22 .applies-switch {
33 @apply relative mt-4 flex flex-wrap overflow-hidden;
4-
4+
55 .applicable-info {
66 @apply border-none bg-transparent;
77 }
88
99 .applicable-name ,
1010 .applicable-meta {
11- @apply text-sm!
11+ @apply text-sm!;
1212 }
1313
1414 .applies-switch-label {
3030 @apply border-grey-20 z-0 order-99 hidden w-full border-1 px-6 pt-2 pb-6;
3131 }
3232
33- .applies-switch-input : checked + .applies-switch-label + .applies-switch-content {
33+ .applies-switch-input : checked
34+ + .applies-switch-label
35+ + .applies-switch-content {
3436 @apply block;
3537 }
3638
Original file line number Diff line number Diff line change 11@layer components {
22 .applies-switch {
33 @apply relative mt-4 flex flex-wrap overflow-hidden;
4-
4+
55 .applies-switch-label {
66 @apply text-ink-light border-grey-20 z-20 -mb-[1px ] flex cursor-pointer items-center border-1 px-3 py-2;
77 & : not (: nth-of-type (1 )) {
2121 @apply border-grey-20 z-0 order-99 hidden w-full border-1 px-6 pt-2 pb-6;
2222 }
2323
24- .applies-switch-input : checked + .applies-switch-label + .applies-switch-content {
24+ .applies-switch-input : checked
25+ + .applies-switch-label
26+ + .applies-switch-content {
2527 @apply block;
2628 }
2729
You can’t perform that action at this time.
0 commit comments