fix: when not in column mode, don't add padding to top of practice tooltip

This commit is contained in:
ggurdin 2025-12-22 14:12:12 -05:00
parent fb54bda414
commit 11d00fdd12
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

View file

@ -434,11 +434,13 @@ class MessageSelectionPositionerState extends State<MessageSelectionPositioner>
),
),
Positioned(
top: switch (MediaQuery.heightOf(context)) {
< 700 => 0,
> 900 => 160,
_ => 80,
},
top: FluffyThemes.isColumnMode(context)
? switch (MediaQuery.heightOf(context)) {
< 700 => 0,
> 900 => 160,
_ => 80,
}
: 0,
left: 0,
right: 0,
child: ListenableBuilder(