This commit is contained in:
Juan Gilsanz Polo 2023-05-01 04:49:40 +02:00
parent 42f589793c
commit 7d5d802aea
7 changed files with 394 additions and 376 deletions

View file

@ -70,6 +70,11 @@ class _AddClientModalState extends State<AddClientModal> {
Widget content() { Widget content() {
return Padding( return Padding(
padding: const EdgeInsets.all(24), padding: const EdgeInsets.all(24),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Flexible(
child: SingleChildScrollView(
child: Wrap( child: Wrap(
children: [ children: [
Row( Row(
@ -115,6 +120,10 @@ class _AddClientModalState extends State<AddClientModal> {
: AppLocalizations.of(context)!.domain, : AppLocalizations.of(context)!.domain,
), ),
), ),
],
),
),
),
Padding( Padding(
padding: const EdgeInsets.only(top: 24), padding: const EdgeInsets.only(top: 24),
child: Row( child: Row(
@ -144,7 +153,6 @@ class _AddClientModalState extends State<AddClientModal> {
], ],
), ),
), ),
if (Platform.isIOS) const SizedBox(height: 16)
], ],
), ),
); );

View file

@ -71,7 +71,8 @@ class _AddStaticLeaseModalState extends State<AddStaticLeaseModal> {
return Column( return Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
SingleChildScrollView( Flexible(
child: SingleChildScrollView(
child: Wrap( child: Wrap(
children: [ children: [
Padding( Padding(
@ -169,6 +170,7 @@ class _AddStaticLeaseModalState extends State<AddStaticLeaseModal> {
], ],
), ),
), ),
),
Padding( Padding(
padding: const EdgeInsets.all(24), padding: const EdgeInsets.all(24),
child: Row( child: Row(

View file

@ -382,6 +382,7 @@ class _DhcpWidgetState extends State<DhcpWidget> {
}), }),
dialog: false, dialog: false,
), ),
isScrollControlled: true
); );
} }
}); });

View file

@ -23,7 +23,8 @@ class SelectInterfaceModal extends StatelessWidget {
return Column( return Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
SingleChildScrollView( Flexible(
child: SingleChildScrollView(
child: Wrap( child: Wrap(
children: [ children: [
Row( Row(
@ -178,6 +179,7 @@ class SelectInterfaceModal extends StatelessWidget {
], ],
), ),
), ),
),
Padding( Padding(
padding: const EdgeInsets.all(20), padding: const EdgeInsets.all(20),
child: Row( child: Row(

View file

@ -257,7 +257,8 @@ class _CacheConfigDnsScreenState extends State<CacheConfigDnsScreen> {
label: Text(AppLocalizations.of(context)!.clearDnsCache), label: Text(AppLocalizations.of(context)!.clearDnsCache),
), ),
], ],
) ),
const SizedBox(height: 16)
], ],
), ),
); );

View file

@ -36,7 +36,8 @@ class _CommentModalState extends State<CommentModal> {
return Column( return Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
SingleChildScrollView( Flexible(
child: SingleChildScrollView(
child: Wrap( child: Wrap(
children: [ children: [
Row( Row(
@ -94,6 +95,7 @@ class _CommentModalState extends State<CommentModal> {
], ],
), ),
), ),
),
Padding( Padding(
padding: const EdgeInsets.all(24), padding: const EdgeInsets.all(24),
child: Row( child: Row(

View file

@ -56,7 +56,8 @@ class _AddDnsRewriteModalState extends State<AddDnsRewriteModal> {
return Column( return Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
SingleChildScrollView( Flexible(
child: SingleChildScrollView(
child: Wrap( child: Wrap(
children: [ children: [
Row( Row(
@ -126,6 +127,7 @@ class _AddDnsRewriteModalState extends State<AddDnsRewriteModal> {
], ],
), ),
), ),
),
Padding( Padding(
padding: const EdgeInsets.all(24), padding: const EdgeInsets.all(24),
child: Row( child: Row(