Refactor repo header/list (#29969)
1. Use general "mobile-only" and "not-mobile" CSS styles, remove some`@media (max-width: 767.98px)` tricks 2. Use `CountFmt` for repo list, just like the repo header (and it matches GitHub, to avoid big numbers bloat the page)
This commit is contained in:
parent
d6fed9ab88
commit
bfa160fc98
9 changed files with 51 additions and 65 deletions
|
@ -1252,13 +1252,6 @@ strong.attention-caution, svg.attention-caution {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
/* double selector so it wins over .gt-df etc */
|
||||
.not-mobile.not-mobile {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
overflow-menu {
|
||||
margin-bottom: 15px !important;
|
||||
border-bottom: 1px solid var(--color-secondary) !important;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue