Skip to content

Commit

Permalink
fix(docs): css fix for text align (#863)
Browse files Browse the repository at this point in the history
* fix(docs): text-align fix for version banner
  • Loading branch information
austyh authored Nov 15, 2023
1 parent 78dfc5a commit 922ee35
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
42 changes: 21 additions & 21 deletions docs/src/styles/components/_doc-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,30 +44,30 @@
}
}

> .container {
> .row {
> .col {
display: flex;
flex-direction: column;
justify-content: center;

min-width: 0;
> .container {
> .row {
> .col {
display: flex;
justify-content: center;
flex-direction: column;
min-width: 0;
align-items: center;
}
}
}
}
}

.spacer {
flex-basis: 5rem;
.spacer {
flex-basis: 5rem;

@media (max-width: 996px) {
display: none;
}
@media (max-width: 996px) {
display: none;
}
}
}
}

[class*='docItemCol_'] {
margin-inline-start: auto;
margin-inline-end: auto;
}
//#endregion
[class*='docItemCol_'] {
margin-inline-start: auto;
margin-inline-end: auto;
}
//#endregion
}
1 change: 1 addition & 0 deletions docs/src/styles/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ body {
}

.theme-doc-version-banner {
width: 100%;
max-width: var(--doc-item-container-width);
}

Expand Down

0 comments on commit 922ee35

Please sign in to comment.