fix: Missing bottom padding in text only stories

This commit is contained in:
Christian Pauly 2022-05-28 09:44:14 +02:00
parent 71503abd95
commit 393b54bd96
2 changed files with 5 additions and 2 deletions

View File

@ -236,7 +236,10 @@ class StoryView extends StatelessWidget {
onHorizontalDragEnd: controller.unhold, onHorizontalDragEnd: controller.unhold,
child: AnimatedContainer( child: AnimatedContainer(
duration: const Duration(milliseconds: 200), duration: const Duration(milliseconds: 200),
padding: const EdgeInsets.all(16.0), padding: const EdgeInsets.symmetric(
horizontal: 16.0,
vertical: 80,
),
decoration: BoxDecoration( decoration: BoxDecoration(
gradient: event.messageType == MessageTypes.Text gradient: event.messageType == MessageTypes.Text
? LinearGradient( ? LinearGradient(

View File

@ -932,7 +932,7 @@ packages:
description: description:
path: "." path: "."
ref: null-safety ref: null-safety
resolved-ref: "5aa8786475bca1b90ff35409eff3e0f5a4768601" resolved-ref: "2906e65ffaa96afbe6c72e8477d4dfcdfd06c2c3"
url: "https://github.com/TheOneWithTheBraid/keyboard_shortcuts.git" url: "https://github.com/TheOneWithTheBraid/keyboard_shortcuts.git"
source: git source: git
version: "0.1.4" version: "0.1.4"