From 393b54bd9649b1fb3b526686d6d272dc2346678c Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 28 May 2022 09:44:14 +0200 Subject: [PATCH] fix: Missing bottom padding in text only stories --- lib/pages/story/story_view.dart | 5 ++++- pubspec.lock | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/pages/story/story_view.dart b/lib/pages/story/story_view.dart index b45f7cc8..f43b29f6 100644 --- a/lib/pages/story/story_view.dart +++ b/lib/pages/story/story_view.dart @@ -236,7 +236,10 @@ class StoryView extends StatelessWidget { onHorizontalDragEnd: controller.unhold, child: AnimatedContainer( duration: const Duration(milliseconds: 200), - padding: const EdgeInsets.all(16.0), + padding: const EdgeInsets.symmetric( + horizontal: 16.0, + vertical: 80, + ), decoration: BoxDecoration( gradient: event.messageType == MessageTypes.Text ? LinearGradient( diff --git a/pubspec.lock b/pubspec.lock index 44ac4e31..3f239239 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -932,7 +932,7 @@ packages: description: path: "." ref: null-safety - resolved-ref: "5aa8786475bca1b90ff35409eff3e0f5a4768601" + resolved-ref: "2906e65ffaa96afbe6c72e8477d4dfcdfd06c2c3" url: "https://github.com/TheOneWithTheBraid/keyboard_shortcuts.git" source: git version: "0.1.4"