fix: hero image stretch & hub title overflow
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user