mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: use same base width for all screen sizes (#2961)
This commit is contained in:
parent
88405ad316
commit
d0747afbf2
@ -25,10 +25,7 @@ class HomeLayout {
|
||||
|
||||
showEditPanel = homeSetting.panelContext.isSome();
|
||||
|
||||
menuWidth = Sizes.sideBarMed;
|
||||
if (context.widthPx >= PageBreaks.desktop) {
|
||||
menuWidth = Sizes.sideBarLg;
|
||||
}
|
||||
menuWidth = Sizes.sideBarWidth;
|
||||
|
||||
menuWidth += homeSetting.resizeOffset;
|
||||
|
||||
|
@ -58,9 +58,7 @@ class Sizes {
|
||||
|
||||
static double get iconMed => 20;
|
||||
|
||||
static double get sideBarMed => 225 * hitScale;
|
||||
|
||||
static double get sideBarLg => 290 * hitScale;
|
||||
static double get sideBarWidth => 250 * hitScale;
|
||||
}
|
||||
|
||||
class Corners {
|
||||
|
Loading…
Reference in New Issue
Block a user