Skip to content

Commit 4787aa3

Browse files
committed
Fixed footer and search on demo.
1 parent 963c36a commit 4787aa3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/main/java/gwt/material/design/demo/client/application/ApplicationView.ui.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
<g:HTMLPanel ui:field="menu" />
5050
<m:MaterialContainer>
51-
<g:HTMLPanel ui:field="main" addStyleNames="{style.panel} container z-depth-2" />
51+
<g:HTMLPanel ui:field="main" addStyleNames="{style.panel}" />
5252

5353
<m:MaterialPanel>
5454
<g:HTMLPanel>
@@ -86,7 +86,7 @@
8686
</m:MaterialColumn>
8787
</m:MaterialRow>
8888

89-
<m:MaterialFooterCopyright>
89+
<m:MaterialFooterCopyright addStyleNames="footer-copyright">
9090
<m:MaterialLabel text="© 2015 Copyright GWT Material" />
9191
</m:MaterialFooterCopyright>
9292
</m:MaterialFooter>

src/main/java/gwt/material/design/demo/client/application/components/footer/FooterView.ui.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</m:MaterialColumn>
4444
</m:MaterialRow>
4545

46-
<m:MaterialFooterCopyright>
46+
<m:MaterialFooterCopyright addStyleNames="footer-copyright">
4747
<m:MaterialLabel text="© 2015 Copyright GWT Material" />
4848
</m:MaterialFooterCopyright>
4949
</m:MaterialFooter>

src/main/java/gwt/material/design/demo/client/application/menu/MenuView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public void onPush(SideNavPushEvent event) {
8383
style.setProperty("webkitTransition", duration + "ms");
8484

8585
navBar.getElement().getStyle().setProperty("width", "calc(100% - "+width+"px)");
86+
navBarSearch.getElement().getStyle().setProperty("width", "calc(100% - "+width+"px)");
8687
}
8788
}, SideNavPushEvent.TYPE);
8889

0 commit comments

Comments
 (0)