fix: truncate repo name(7ch by default) in small screen

do not hide repo header
This commit is contained in:
Weihua Lu
2021-04-07 20:46:19 +08:00
committed by Tienson Qin
parent b718d4f50a
commit 3d7642ace8
4 changed files with 19 additions and 10 deletions

View File

@@ -85,3 +85,14 @@
align-items: center;
}
}
#repo-name {
@apply md:max-w-none;
vertical-align: middle;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 7ch;
}