Skip to content

Commit e3425f2

Browse files
authored
Merge pull request #2251 from Arhell/fix-bread
fix breadcrumbs block
2 parents 9d46c15 + bb46eb5 commit e3425f2

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

includes/article.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<article class="markdown-body width-full">
33
<div class="d-lg-flex flex-justify-between">
44
<div class="d-block d-lg-none">{% include article-version-switcher %}</div>
5-
<div class="d-flex flex-items-center" style="height: 39px;">
5+
<div class="d-flex flex-items-center breadcrumbs-wrapper">
66
{% include breadcrumbs %}
77
</div>
88
<div class="d-none d-lg-block">{% include article-version-switcher %}</div>

layouts/graphql-explorer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
<main class="container-xl px-3 px-md-6 my-4 my-lg-4 d-xl-flex">
1212
<article class="markdown-body width-full">
1313
<div class="d-lg-flex flex-justify-between">
14-
<div class="d-flex flex-items-center" style="height: 39px;">
14+
<div class="d-flex flex-items-center breadcrumbs-wrapper">
1515
{% include breadcrumbs %}
1616
</div>
1717
</div>
1818

1919
<h1 class="border-bottom-0">{{ page.title }}</h1>
20-
20+
2121
<div class="mt-2">
2222
<div>
2323
<iframe id="graphiql" class="graphql-explorer" scrolling="no" src="{{ graphql.explorerUrl }}">

stylesheets/article.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@
8787
/* Breadcrumbs
8888
------------------------------------------------------------------------------*/
8989

90+
.breadcrumbs-wrapper {
91+
@include breakpoint(xl) {
92+
height: 39px;
93+
}
94+
}
95+
9096
.breadcrumbs a:not(:last-child)::after, .breadcrumbs span:not(:last-child)::after {
9197
content: '/';
9298
color: $gray-400;

0 commit comments

Comments
 (0)