fix(mobile): make elements scrollable to avoid overflow in landscale (#7933)

fix(mobile): make elements scrollable to avoid overflow in landscape
This commit is contained in:
thielepaul 2024-03-14 13:28:18 +01:00 committed by GitHub
parent 2f78bff97c
commit 428b7b0c4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 13 deletions

View file

@ -428,10 +428,8 @@ class SharedLinkEditPage extends HookConsumerWidget {
leading: const CloseButton(),
centerTitle: false,
),
resizeToAvoidBottomInset: false,
body: SafeArea(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
child: ListView(
children: [
Padding(
padding: const EdgeInsets.all(padding),
@ -487,7 +485,10 @@ class SharedLinkEditPage extends HookConsumerWidget {
Align(
alignment: Alignment.bottomRight,
child: Padding(
padding: const EdgeInsets.only(right: padding + 10),
padding: const EdgeInsets.only(
right: padding + 10,
bottom: padding,
),
child: ElevatedButton(
onPressed:
existingLink != null ? handleEditLink : handleNewLink,
@ -508,6 +509,7 @@ class SharedLinkEditPage extends HookConsumerWidget {
padding: const EdgeInsets.only(
left: padding,
right: padding,
bottom: padding,
),
child: buildNewLinkField(),
),