From: Jeremy Thomas Date: Thu, 25 Jul 2019 08:55:58 +0000 (+0100) Subject: Add long table example X-Git-Tag: 0.8.0~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f43e2d701e6c913308c77edc8b02dada99c4fdd;p=thirdparty%2Fbulma.git Add long table example --- diff --git a/docs/documentation/elements/table.html b/docs/documentation/elements/table.html index 3639e0e63..6fe088954 100644 --- a/docs/documentation/elements/table.html +++ b/docs/documentation/elements/table.html @@ -354,10 +354,26 @@ meta: {% include elements/anchor.html name="Modifiers" %} -{% capture simple_scrollable_table_example %} +{% capture scrollable_table %}
- + +
+
+{% endcapture %} + +{% capture simple_scrollable_table_example %} +
+ + + {% for i in (1..5) %} + + {% for j in (1..100) %} + + {% endfor %} + + {% endfor %} +
{{ j | times: i }}
{% endcapture %} @@ -592,16 +608,14 @@ meta: +{% include elements/anchor.html name="Table container" %} -
-
-

- You can create a scrollable table by wrapping - a table in the table-container class: -

- {% highlight html %}{{ simple_scrollable_table_example }}{% endhighlight %} -
-
+

+ You can create a scrollable table by wrapping a table in a table-container element: +

+ +{% highlight html %}{{ scrollable_table }}{% endhighlight %} +{{ simple_scrollable_table_example }} {% include elements/variables.html type='element' %}