mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 10:02:24 -05:00
[bugfix] Fix profile card display issues on smaller screens w/responsive query (#696)
* add responsive media query to profile css * break username on all screen sizes if necessary * embed avatar inside header on smaller screen sizes * align items to the left in small screen view * more consistent profile scaling accross firefox and chrome * simplify things a little bit * make sure bio fits in profile * word-break content if necessary Co-authored-by: f0x <f0x@cthu.lu>
This commit is contained in:
parent
6418307c64
commit
1d5c737bbb
4 changed files with 56 additions and 22 deletions
|
|
@ -50,9 +50,7 @@ body {
|
|||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
|
||||
grid-template-columns: 1fr 50% 1fr;
|
||||
grid-template-columns: auto min(92%, 90ch) auto;
|
||||
|
||||
grid-template-rows: auto 1fr auto;
|
||||
}
|
||||
|
||||
|
|
@ -269,10 +267,6 @@ footer {
|
|||
}
|
||||
|
||||
@media screen and (orientation: portrait) {
|
||||
.page {
|
||||
grid-template-columns: 1fr 92% 1fr;
|
||||
}
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue