-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix repository summary on mobile #17322
Changes from all commits
d6947fb
db8f121
e40c101
8e15bc0
cebbb3c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2261,17 +2261,20 @@ | |
.list { | ||
width: 100%; | ||
display: flex; | ||
align-items: center; | ||
|
||
.item { | ||
width: 100%; | ||
color: var(--color-text); | ||
|
||
&:first-of-type { | ||
border-radius: var(--border-radius) 0 0 var(--border-radius); | ||
padding-left: .25rem; | ||
} | ||
|
||
&:last-of-type { | ||
border-radius: 0 var(--border-radius) var(--border-radius) 0; | ||
padding-right: .25rem; | ||
} | ||
|
||
a { | ||
|
@@ -2408,6 +2411,10 @@ | |
border-radius: 0; | ||
user-select: none; | ||
|
||
@media @mediaSm { | ||
display: none; | ||
} | ||
|
||
.bar { | ||
white-space: nowrap; | ||
border: 0; | ||
|
@@ -3099,6 +3106,10 @@ td.blob-excerpt { | |
.repository-summary-language-stats { | ||
height: 48px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here, we can remove this, then the layout is still correct I think. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tried that, but the height is set to that magic number for a reason. The comment above that line says |
||
overflow: hidden; | ||
|
||
@media @mediaSm { | ||
height: auto; | ||
} | ||
} | ||
|
||
.ui.form .right .ui.button { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can just remove the height of
.repository-summary-language-stats
, then the language stats bar can be shown correctly.