aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sass/abridge.scss5
-rw-r--r--templates/base.html2
2 files changed, 5 insertions, 2 deletions
diff --git a/sass/abridge.scss b/sass/abridge.scss
index 499a366..af9713a 100644
--- a/sass/abridge.scss
+++ b/sass/abridge.scss
@@ -1228,10 +1228,13 @@ $syntax: true !default;//syntax highlighting for code blocks
margin-left: var(--s1);
display: none;//hide in mobile view
}
+ .desc {
+ display: none;//hide in mobile view
+ }
@if map-get($breakpoints, "md") {
// mobile first is min-width for desktop instead of max-width for mobile
@media (min-width: map-get($breakpoints, "md")) {
- .sblock {
+ .sblock, .desc {
display: unset;//show in desktop view
}
.block {
diff --git a/templates/base.html b/templates/base.html
index 72a5204..b4e01d9 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -111,7 +111,7 @@
</nav>
{%- if config.extra.sitedesc %}
{%- if config.description %}
- <div>{{ config.description }}</div>
+ <div class="desc">{{ config.description }}</div>
{%- endif %}
{%- endif %}
{%- if config.extra.headhr %}