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 2022/05/03 09:01:17 UTC
[myfaces-tobago] branch master updated: fix(demo): layout
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 a46c3767c7 fix(demo): layout
a46c3767c7 is described below
commit a46c3767c732c8481571d0acd68ff292b956b5c0
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Tue May 3 11:00:05 2022 +0200
fix(demo): layout
On some sites the content moves under the navigation, although there is enough space.
---
tobago-example/tobago-example-demo/src/main/webapp/main.xhtml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
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 1660d9e502..0214db82a0 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/main.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/main.xhtml
@@ -52,11 +52,9 @@
<ui:include src="/menu.xhtml"/>
<tc:panel>
- <tc:style maxWidth="#{navigationState.viewSource ? '' : '1140px'}"
- marginLeft="auto"
- marginRight="auto"/>
+ <tc:style customClass="#{navigationState.viewSource ? '' : 'container-lg'}"/>
- <tc:segmentLayout small="#{navigationState.viewSource ? '2seg 10seg' : 'auto 1fr'}">
+ <tc:segmentLayout small="4seg 8seg" medium="3seg 9seg" large="2seg 10seg">
<tc:panel>
<ui:include src="/navigation.xhtml"/>
</tc:panel>