Browse Source

minor padding changes

ashilkn 2 years ago
parent
commit
e64e2c9614
2 changed files with 5 additions and 8 deletions
  1. 4 7
      lib/ui/home_widget.dart
  2. 1 1
      lib/ui/settings/settings_title_bar_widget.dart

+ 4 - 7
lib/ui/home_widget.dart

@@ -97,13 +97,10 @@ class _HomeWidgetState extends State<HomeWidget> {
   @override
   void initState() {
     _logger.info("Building initstate");
-    _headerWidgetWithSettingsButton = Container(
-      margin: const EdgeInsets.only(top: 12),
-      child: Stack(
-        children: const [
-          _headerWidget,
-        ],
-      ),
+    _headerWidgetWithSettingsButton = Stack(
+      children: const [
+        _headerWidget,
+      ],
     );
     _tabChangedEventSubscription =
         Bus.instance.on<TabChangedEvent>().listen((event) {

+ 1 - 1
lib/ui/settings/settings_title_bar_widget.dart

@@ -15,7 +15,7 @@ class SettingsTitleBarWidget extends StatelessWidget {
     return Container(
       padding: const EdgeInsets.symmetric(vertical: 4),
       child: Padding(
-        padding: const EdgeInsets.fromLTRB(12, 0, 20, 0),
+        padding: const EdgeInsets.fromLTRB(8, 0, 20, 0),
         child: Row(
           mainAxisAlignment: MainAxisAlignment.spaceBetween,
           children: [