rearrange demo layout: better use of space if browser window is small
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>