fix ios webview bottom padding bug

This commit is contained in:
DASHU
2025-02-12 11:14:38 +08:00
parent 8385371c7a
commit 424d667814
2 changed files with 7 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ class _IndexWebBottomComponent extends State<IndexWebBottomComponent> {
} }
Widget numberWidget = WebViewNumberComponent(); Widget numberWidget = WebViewNumberComponent();
return Container( var main = Container(
height: 60, height: 60,
child: Row( child: Row(
children: [ children: [
@@ -112,6 +112,12 @@ class _IndexWebBottomComponent extends State<IndexWebBottomComponent> {
], ],
), ),
); );
return main;
// return SafeArea(
// top: false,
// child: main,
// );
}, selector: (context, provider) { }, selector: (context, provider) {
return provider.currentWebInfo(); return provider.currentWebInfo();
}); });

View File

@@ -106,7 +106,6 @@ class _IndexWebComponent extends State<IndexWebComponent> {
return Container( return Container(
padding: EdgeInsets.only( padding: EdgeInsets.only(
top: padding.top, top: padding.top,
bottom: padding.bottom,
), ),
child: main, child: main,
); );