Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(app): widen the custom status modal (#2551)

Hampus73d3a4f843ef
diff --git a/fluxer_app/src/features/user/components/modals/CustomStatusModal.module.css b/fluxer_app/src/features/user/components/modals/CustomStatusModal.module.css
index 455f8f656..e33785d5f 100644
--- a/fluxer_app/src/features/user/components/modals/CustomStatusModal.module.css
+++ b/fluxer_app/src/features/user/components/modals/CustomStatusModal.module.css
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: AGPL-3.0-or-later */
-.modalRoot {
+.modalRoot.modalRoot {
--profile-popout-content-width: 18.75rem;
--profile-popout-border-width: 0.15625rem;
--profile-card-width: calc(
@@ -9,9 +9,16 @@
var(--profile-popout-border-width)
);
--custom-status-modal-padding-inline: 2rem;
+ --custom-status-modal-card-gutter: 3.75rem;
+ --custom-status-modal-width: calc(
+ var(--profile-card-width) +
+ var(--custom-status-modal-padding-inline) +
+ var(--custom-status-modal-card-gutter) +
+ var(--custom-status-modal-card-gutter)
+ );
- width: min(calc(var(--profile-card-width) + var(--custom-status-modal-padding-inline)), 90vw);
- max-width: calc(var(--profile-card-width) + var(--custom-status-modal-padding-inline));
+ width: min(var(--custom-status-modal-width), 90vw);
+ max-width: var(--custom-status-modal-width);
}
.previewSection {
@@ -31,8 +38,6 @@
.statusInputWrapper {
width: 100%;
- max-width: var(--profile-card-width);
- margin-inline: auto;
display: flex;
flex-direction: column;
gap: 0.35rem;