You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2020/06/03 13:08:31 UTC
[myfaces-tobago] branch master updated: rearrange demo layout:
better use of space if browser window is small
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/master by this push:
new 8ce13cd rearrange demo layout: better use of space if browser window is small
8ce13cd is described below
commit 8ce13cd035218bfcd9e1b779f514eb61b9d6eaca
Author: Henning Nöth <hn...@apache.org>
AuthorDate: Wed Jun 3 15:07:50 2020 +0200
rearrange demo layout: better use of space if browser window is small
---
tobago-example/tobago-example-demo/src/main/webapp/main.xhtml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/main.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/main.xhtml
index f8e37a3..8f4acee 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/main.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/main.xhtml
@@ -45,7 +45,9 @@
<ui:include src="/menu.xhtml"/>
<tc:panel>
- <tc:style customClass="#{navigationState.viewSource ? '' : 'container mx-auto'}"/>
+ <tc:style maxWidth="#{navigationState.viewSource ? '' : '1140px'}"
+ marginLeft="auto"
+ marginRight="auto"/>
<tc:segmentLayout small="#{navigationState.viewSource ? '2seg 10seg' : 'auto 1fr'}">
<tc:panel>