Merge pull request #2860 from weili520/text_length

fix: Make Chinese text in line
This commit is contained in:
KubeSphere CI Bot 2023-03-10 18:51:46 +08:00 committed by GitHub
commit 95de83b2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -49,6 +49,10 @@ section {
justify-content: space-between;
}
.nowrap-li:last-of-type {
white-space: nowrap;
}
.title-h1 {
font-size: 40px;
line-height: 1;

View File

@ -13,7 +13,7 @@
<ul class="common-flex-layout">
{{ with $data.footer.footer }}
{{ range .list }}
<li>
<li class="nowrap-li">
<div class="h3">{{ .title }}</div>
{{ range .list }}
{{ if hasPrefix .link "http" }}