You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2023/03/22 10:59:29 UTC

[myfaces-tobago] branch main updated: doc(demo): hiding sheet columns (#3887)

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/main by this push:
     new 14f9f6a823 doc(demo): hiding sheet columns (#3887)
14f9f6a823 is described below

commit 14f9f6a823ed1a3df77de510535f77f59dd109e2
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Mar 22 11:59:23 2023 +0100

    doc(demo): hiding sheet columns (#3887)
---
 .../src/main/webapp/content/080-sheet/40-style/Sheet_Style.xhtml | 9 +++++++++
 .../main/webapp/content/205-style/20-bootstrap/Bootstrap.xhtml   | 4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/40-style/Sheet_Style.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/40-style/Sheet_Style.xhtml
index 78f223cde4..39d0d35674 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/40-style/Sheet_Style.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/40-style/Sheet_Style.xhtml
@@ -54,4 +54,13 @@
     </tc:column>
   </tc:sheet>
 
+  <tc:section label="Responsive Column Display">
+
+    For responsive display or hiding columns, see the
+    <tc:link label="Bootstrap" outcome="/content/205-style/20-bootstrap/Bootstrap.xhtml"/>
+    styling example.
+
+
+  </tc:section>
+
 </ui:composition>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/205-style/20-bootstrap/Bootstrap.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/205-style/20-bootstrap/Bootstrap.xhtml
index 241b21eb47..334b9f2dc3 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/205-style/20-bootstrap/Bootstrap.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/205-style/20-bootstrap/Bootstrap.xhtml
@@ -29,8 +29,8 @@
              link="https://getbootstrap.com/docs/5.2/utilities/display/"/>
 
     <demo-highlight language="markup">&lt;tc:badge value="small"&gt;
-      &lt;tc:style customClass="d-none d-sm-inline"/&gt;
-      &lt;/tc:badge&gt;
+  &lt;tc:style customClass="d-none d-sm-inline"/&gt;
+&lt;/tc:badge&gt;
     </demo-highlight>
 
     <p>