Skip to content

Commit c668383

Browse files
committed
resolve banner style in mobile devices
1 parent 41686b6 commit c668383

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/css/main.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ main p {
152152
.article-banner a.btn {
153153
padding: 0.675rem 1rem;
154154
font-size: var(--font-small);
155+
margin: auto;
155156
}
156157

157158
.article-banner p {
@@ -161,4 +162,12 @@ main p {
161162
.article-banner p .fab {
162163
font-size: 1.2rem;
163164
}
165+
166+
.article-banner {
167+
justify-content: center;
168+
}
169+
170+
.banner-text {
171+
margin: 0.5rem 0;
172+
}
164173
}

src/partials/main.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<i class="fas fa-file-alt"></i> <p> You are viewing the documentation for a prerelease version.</p>
77
{{else}}
88
<i class="fas fa-file-alt"></i>
9-
<div>
9+
<div class="banner-text"
1010
<p> A newer version of this documentation is available.</p>
1111
<span>The page is for an End Of Life version</span>
1212
</div>

0 commit comments

Comments
 (0)