From a9a23c6309ceca46aad7902e49b001008bb2e185 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sun, 2 Feb 2025 14:05:58 +0100 Subject: [PATCH] chore: Design adjustments --- assets/l10n/intl_en.arb | 3 ++- lib/config/themes.dart | 2 +- lib/pages/chat/events/html_message.dart | 2 +- lib/utils/url_launcher.dart | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index 9744d666b..c7886dcc5 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -2830,5 +2830,6 @@ "server": {} } }, - "appWantsToUseForLoginDescription": "You hereby allow the app and website to share information about you." + "appWantsToUseForLoginDescription": "You hereby allow the app and website to share information about you.", + "open": "Open" } diff --git a/lib/config/themes.dart b/lib/config/themes.dart index 3e1c213db..e59cdf117 100644 --- a/lib/config/themes.dart +++ b/lib/config/themes.dart @@ -4,7 +4,7 @@ import 'package:flutter/services.dart'; import 'app_config.dart'; abstract class FluffyThemes { - static const double columnWidth = 360.0; + static const double columnWidth = 380.0; static const double navRailWidth = 64.0; diff --git a/lib/pages/chat/events/html_message.dart b/lib/pages/chat/events/html_message.dart index e4d28c8d1..036c81825 100644 --- a/lib/pages/chat/events/html_message.dart +++ b/lib/pages/chat/events/html_message.dart @@ -207,7 +207,7 @@ class HtmlMessage extends StatelessWidget { ), style: linkStyle, ), - style: const TextStyle(height: 1), + style: const TextStyle(height: 1.25), ), ), ); diff --git a/lib/utils/url_launcher.dart b/lib/utils/url_launcher.dart index da892c893..80efed80e 100644 --- a/lib/utils/url_launcher.dart +++ b/lib/utils/url_launcher.dart @@ -51,7 +51,7 @@ class UrlLauncher { context: context, title: L10n.of(context).openLinkInBrowser, message: url, - okLabel: L10n.of(context).yes, + okLabel: L10n.of(context).open, cancelLabel: L10n.of(context).cancel, ); if (consent != OkCancelResult.ok) return;