Skip to content

Commit 922ee35

Browse files
authored
fix(docs): css fix for text align (#863)
* fix(docs): text-align fix for version banner
1 parent 78dfc5a commit 922ee35

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

Diff for: docs/src/styles/components/_doc-item.scss

+21-21
Original file line numberDiff line numberDiff line change
@@ -44,30 +44,30 @@
4444
}
4545
}
4646

47-
> .container {
48-
> .row {
49-
> .col {
50-
display: flex;
51-
flex-direction: column;
52-
justify-content: center;
53-
54-
min-width: 0;
47+
> .container {
48+
> .row {
49+
> .col {
50+
display: flex;
51+
justify-content: center;
52+
flex-direction: column;
53+
min-width: 0;
54+
align-items: center;
55+
}
56+
}
5557
}
56-
}
57-
}
5858

59-
.spacer {
60-
flex-basis: 5rem;
59+
.spacer {
60+
flex-basis: 5rem;
6161

62-
@media (max-width: 996px) {
63-
display: none;
64-
}
62+
@media (max-width: 996px) {
63+
display: none;
64+
}
65+
}
6566
}
66-
}
6767

68-
[class*='docItemCol_'] {
69-
margin-inline-start: auto;
70-
margin-inline-end: auto;
71-
}
72-
//#endregion
68+
[class*='docItemCol_'] {
69+
margin-inline-start: auto;
70+
margin-inline-end: auto;
71+
}
72+
//#endregion
7373
}

Diff for: docs/src/styles/custom.scss

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ body {
118118
}
119119

120120
.theme-doc-version-banner {
121+
width: 100%;
121122
max-width: var(--doc-item-container-width);
122123
}
123124

0 commit comments

Comments
 (0)