Skip to content

Commit d212669

Browse files
committed
Fix styling
1 parent 3cdb3a6 commit d212669

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

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

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,8 @@
22
.applies-switch {
33
@apply relative mt-4 flex flex-wrap overflow-hidden;
44

5-
.applicable-info {
6-
@apply border-none bg-transparent;
7-
}
8-
9-
.applicable-name,
10-
.applicable-meta {
11-
@apply text-sm!
12-
}
13-
145
.applies-switch-label {
15-
@apply text-ink-light border-grey-20 z-20 -mb-[1px] flex cursor-pointer items-center border-1 px-6 py-2;
6+
@apply text-ink-light border-grey-20 z-20 -mb-[1px] flex cursor-pointer items-center border-1 px-3 py-2;
167
&:not(:nth-of-type(1)) {
178
margin-left: -1px;
189
}

src/Elastic.Markdown/Myst/Directives/AppliesSwitch/AppliesItemView.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{
1212
@if (Model.AppliesTo is not null)
1313
{
14-
<span class="applies applies-inline">
14+
<span class="applies applies-item">
1515
@await RenderPartialAsync(ApplicableToComponent.Create(new ApplicableToViewModel
1616
{
1717
AppliesTo = Model.AppliesTo,

0 commit comments

Comments
 (0)