summaryrefslogtreecommitdiff
path: root/web/source/settings/style.css
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-02-21 14:24:04 +0100
committerLibravatar GitHub <noreply@github.com>2024-02-21 14:24:04 +0100
commit2d9e498f9693c9fe553aa93c3faee9883a4d1e77 (patch)
treeac8768e6d2bdcd8e9150972479935b7b989f2997 /web/source/settings/style.css
parent[bugfix] fix possible mutex lockup during streaming code (#2633) (diff)
downloadgotosocial-2d9e498f9693c9fe553aa93c3faee9883a4d1e77.tar.xz
[bugfix] Fix wide images being squished when used as instance avatar (#2669)
Diffstat (limited to 'web/source/settings/style.css')
-rw-r--r--web/source/settings/style.css36
1 files changed, 22 insertions, 14 deletions
diff --git a/web/source/settings/style.css b/web/source/settings/style.css
index 6e19acdd4..501e9dbef 100644
--- a/web/source/settings/style.css
+++ b/web/source/settings/style.css
@@ -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;
- }
-
- img.avatar {
- width: 8rem;
+.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.header {
- width: 24rem;
+
+ .file-input-with-image-description {
+ display: flex;
+ flex-direction: column;
+ justify-content: space-around;
}
}