fix: hero image stretch & hub title overflow

This commit is contained in:
edde746
2025-12-04 17:14:55 +01:00
parent 1d50763d9b
commit 01e5648e28
2 changed files with 7 additions and 9 deletions
-6
View File
@@ -1040,12 +1040,6 @@ class _DiscoverScreenState extends State<DiscoverScreen>
mediaQuery.devicePixelRatio)
.clamp(900, 2400)
.round(),
memCacheHeight:
(mediaQuery.size.height *
mediaQuery.devicePixelRatio *
0.7)
.clamp(600, 1600)
.round(),
placeholder: (context, url) => Container(
color: Theme.of(
context,
+7 -3
View File
@@ -202,9 +202,13 @@ class _HubSectionState extends State<HubSection> {
children: [
Icon(widget.icon),
const SizedBox(width: 8),
Text(
widget.hub.title,
style: Theme.of(context).textTheme.titleLarge,
Expanded(
child: Text(
widget.hub.title,
style: Theme.of(context).textTheme.titleLarge,
overflow: TextOverflow.ellipsis,
maxLines: 1,
),
),
if (widget.hub.more) ...[
const SizedBox(width: 4),