summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/okadmin/public/css/main.css9
-rw-r--r--themes/okadmin/templates/index.liquid1
2 files changed, 10 insertions, 0 deletions
diff --git a/themes/okadmin/public/css/main.css b/themes/okadmin/public/css/main.css
index 354c46c..2cdd5cb 100644
--- a/themes/okadmin/public/css/main.css
+++ b/themes/okadmin/public/css/main.css
@@ -34,6 +34,11 @@ a {}
cursor: pointer;
}
+.main.index .resource-category.image .resource-list a {
+ width: 20vw;
+ display: inline-block;
+}
+
.main.index .resource-list a div.image {
width: 20vw;
height: 16vw;
@@ -99,6 +104,10 @@ a:hover {}
columns: 4;
}
+.main.index .image .resource-list {
+ columns: 1;
+}
+
.main.index .resource-category.active .resource-list a:before {
content: counter(start, decimal-leading-zero) " :: ";
}
diff --git a/themes/okadmin/templates/index.liquid b/themes/okadmin/templates/index.liquid
index c73feda..d792496 100644
--- a/themes/okadmin/templates/index.liquid
+++ b/themes/okadmin/templates/index.liquid
@@ -10,6 +10,7 @@
<section class="resource-category root
{% if resource.groupBy %} grouped {% endif %}
{% if resource.descending %} descending {% endif %}
+ {% if resource.display %} {{resource.display}} {% endif %}
{{name}}">
<form action="{{resource.type}}/__batch__/" method="POST">
<header>