A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix(app): fit friends tabs in narrow windows, drop all-caps
Hampus748d4a10aecf
diff --git a/fluxer_app/src/features/channel/components/direct_message/DMFriendsView.module.css b/fluxer_app/src/features/channel/components/direct_message/DMFriendsView.module.cssindex ec8d45044..0704d412d 100644--- a/fluxer_app/src/features/channel/components/direct_message/DMFriendsView.module.css+++ b/fluxer_app/src/features/channel/components/direct_message/DMFriendsView.module.css@@ -15,6 +15,7 @@flex: 1;min-width: 0;min-height: 0;+ container: friends-view / inline-size;}.content {@@ -141,3 +142,18 @@align-items: center;gap: 0.5rem;}++@container friends-view (max-width: 36rem) {+ .titleSection,+ .divider {+ display: none;+ }++ .tabsInner {+ gap: 0.25rem;+ }++ .tabButton {+ padding: 0.25rem 0.5rem;+ }+}diff --git a/fluxer_app/src/features/channel/components/friends/FriendsListSection.module.css b/fluxer_app/src/features/channel/components/friends/FriendsListSection.module.cssindex 4e02560fc..4dbaa9d37 100644--- a/fluxer_app/src/features/channel/components/friends/FriendsListSection.module.css+++ b/fluxer_app/src/features/channel/components/friends/FriendsListSection.module.css@@ -5,7 +5,6 @@font-weight: 600;font-size: 0.75rem;line-height: 1rem;- text-transform: uppercase;color: var(--text-primary-muted);}diff --git a/fluxer_app/src/features/relationship/utils/FriendsListUtils.module.css b/fluxer_app/src/features/relationship/utils/FriendsListUtils.module.cssindex 5b493ccfc..b740465bf 100644--- a/fluxer_app/src/features/relationship/utils/FriendsListUtils.module.css+++ b/fluxer_app/src/features/relationship/utils/FriendsListUtils.module.css@@ -31,8 +31,6 @@font-size: 0.75rem;font-weight: 600;color: var(--text-primary-muted);- text-transform: uppercase;- letter-spacing: 0.04em;margin-bottom: 0.35rem;}@@ -58,7 +56,7 @@border-radius: var(--radius-lg);padding: 0.75rem 1rem;cursor: pointer;- text-align: left;+ text-align: start;transition: background-color 0.15s;-webkit-tap-highlight-color: transparent;}