6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit f14c0a89

AuthorEdmir Suljic<esu@dwarf.dk>
Date2025-05-20 13:45:38 +0200
Resolved PR comments

Changed files

.../components/practical_information_button.dart   | 36 ++++++++++++----------
 1 file changed, 20 insertions(+), 16 deletions(-)

Diff

diff --git a/comwell_key_app/lib/booking_details/components/practical_information_button.dart b/comwell_key_app/lib/booking_details/components/practical_information_button.dart
index 84471a75..e61495d1 100644
--- a/comwell_key_app/lib/booking_details/components/practical_information_button.dart
+++ b/comwell_key_app/lib/booking_details/components/practical_information_button.dart
@@ -28,9 +28,7 @@ class PracticalInformationButton extends StatelessWidget {
),
child: Padding(
padding: const EdgeInsets.all(12),
- child: Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ child: Stack(
children: [
Container(
decoration: BoxDecoration(
@@ -48,19 +46,25 @@ class PracticalInformationButton extends StatelessWidget {
)),
),
),
- const SizedBox(height: 12),
- Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- Text(title),
- Text(
- subtitle,
- style: Theme.of(context)
- .textTheme
- .bodySmall
- ?.copyWith(color: Colors.grey),
- ),
- ],
+ Positioned(
+ top: 160,
+ child: Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Text(title),
+ SizedBox(
+ width: 200,
+ child: Text(
+ subtitle,
+ style: Theme.of(context)
+ .textTheme
+ .bodySmall
+ ?.copyWith(color: Colors.grey),
+ maxLines: 3,
+ ),
+ ),
+ ],
+ ),
),
],
),