Skip to content

Commit 8e3753b

Browse files
committed
Improve AbstractFcAppRouterLayout styles
1 parent 8614e6d commit 8e3753b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/flowingcode/addons/applayout/AbstractFcAppRouterLayout.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ public abstract class AbstractFcAppRouterLayout extends Div implements RouterLay
4040
private AppLayout app;
4141

4242
public AbstractFcAppRouterLayout() {
43-
setSizeFull();
43+
getElement().getStyle().set("width", "100%");
44+
getElement().getStyle().set("height", "100vh");
4445
getElement().getStyle().set("display", "flex");
4546
getElement().getStyle().set("flex-direction", "column");
4647
app = new AppLayout("");
4748
app.setHeight("32px");
49+
app.getElement().getStyle().set("flex-shrink", "0");
4850
app.addClassName("compact");
4951
app.setFixed(true);
5052
app.setSwipeOpen(false);

0 commit comments

Comments
 (0)