mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 06:18:49 +00:00
Fix Crane search bar margin (#350)
This commit is contained in:
@@ -168,8 +168,8 @@ class _BackdropState extends State<Backdrop> with TickerProviderStateMixin {
|
|||||||
margin: EdgeInsets.only(
|
margin: EdgeInsets.only(
|
||||||
top: isDesktop
|
top: isDesktop
|
||||||
? (isDisplaySmallDesktop(context)
|
? (isDisplaySmallDesktop(context)
|
||||||
? textFieldHeight * 2
|
? textFieldHeight * 3
|
||||||
: textFieldHeight) +
|
: textFieldHeight * 2) +
|
||||||
20 * textScaleFactor / 2
|
20 * textScaleFactor / 2
|
||||||
: 175 + 140 * textScaleFactor / 2,
|
: 175 + 140 * textScaleFactor / 2,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user