fix: when not in column mode, don't add padding to top of practice tooltip
This commit is contained in:
parent
fb54bda414
commit
11d00fdd12
1 changed files with 7 additions and 5 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue