Преглед на файлове

feat: add divider between sidebar and the page (#1450)

Richard Shiue преди 2 години
родител
ревизия
dcf6628aa3
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      frontend/app_flowy/lib/workspace/presentation/home/menu/menu.dart

+ 5 - 1
frontend/app_flowy/lib/workspace/presentation/home/menu/menu.dart

@@ -85,7 +85,11 @@ class HomeMenu extends StatelessWidget {
   Widget _renderBody(BuildContext context) {
     // nested column: https://siddharthmolleti.com/flutter-box-constraints-nested-column-s-row-s-3dfacada7361
     return Container(
-      color: Theme.of(context).colorScheme.surfaceVariant,
+      decoration: BoxDecoration(
+        color: Theme.of(context).colorScheme.surfaceVariant,
+        border:
+            Border(right: BorderSide(color: Theme.of(context).dividerColor)),
+      ),
       child: Column(
         mainAxisAlignment: MainAxisAlignment.start,
         children: [