Skip to content

Commit bea60e5

Browse files
committed
Run prettier
1 parent d212669 commit bea60e5

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

src/Elastic.Documentation.Site/Assets/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { initAppliesSwitch } from './applies-switch'
12
import { initCopyButton } from './copybutton'
23
import { initHighlight } from './hljs'
34
import { initImageCarousel } from './image-carousel'
@@ -6,7 +7,6 @@ import { openDetailsWithAnchor } from './open-details-with-anchor'
67
import { initNav } from './pages-nav'
78
import { initSmoothScroll } from './smooth-scroll'
89
import { initTabs } from './tabs'
9-
import { initAppliesSwitch } from './applies-switch'
1010
import { initTocNav } from './toc-nav'
1111
import 'htmx-ext-head-support'
1212
import 'htmx-ext-preload'

src/Elastic.Documentation.Site/Assets/markdown/applicability-switch.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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 {
@@ -30,7 +30,9 @@
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

src/Elastic.Documentation.Site/Assets/markdown/applies-switch.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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)) {
@@ -21,7 +21,9 @@
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

0 commit comments

Comments
 (0)