mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 02:12:25 -05:00
[bugfix] Fix wide images being squished when used as instance avatar (#2669)
This commit is contained in:
parent
291e180990
commit
2d9e498f96
5 changed files with 52 additions and 27 deletions
|
|
@ -395,21 +395,29 @@ section.with-sidebar > div, section.with-sidebar > form {
|
|||
gap: 1rem;
|
||||
}
|
||||
|
||||
.file-upload > div {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
|
||||
img {
|
||||
height: 8rem;
|
||||
border: 0.2rem solid $border-accent;
|
||||
.file-upload {
|
||||
.file-upload-with-preview {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
|
||||
img {
|
||||
height: 8rem;
|
||||
border: 0.2rem solid $border-accent;
|
||||
}
|
||||
|
||||
img.avatar {
|
||||
width: 8rem;
|
||||
}
|
||||
|
||||
img.header {
|
||||
width: 24rem;
|
||||
}
|
||||
}
|
||||
|
||||
img.avatar {
|
||||
width: 8rem;
|
||||
}
|
||||
|
||||
img.header {
|
||||
width: 24rem;
|
||||
|
||||
.file-input-with-image-description {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue