Skip to content

Commit 075cff2

Browse files
committed
Spacing adjustments
1 parent 792ff13 commit 075cff2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
.applies.applies-inline {
4444
display: inline-block;
4545
vertical-align: bottom;
46+
.applicable-separator {
47+
margin-left: calc(var(--spacing) * 1.5);
48+
margin-right: calc(var(--spacing) * 1.5)
49+
}
4650
.applicable-info {
4751
@apply pt-1 pb-1 pl-1.5 pr-1.5 rounded-sm;
4852
}

src/Elastic.Markdown/Myst/Components/ApplicableToComponent.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
var showVersion = applicability.Version is not null and not AllVersions;
310310
}
311311

312-
@if (showLifeCycle || showVersion)
312+
@if (!string.IsNullOrEmpty(name) && (showLifeCycle || showVersion))
313313
{
314314
<span class="applicable-separator"></span>
315315
}

0 commit comments

Comments
 (0)