Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/khata.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2019-07-07 04:24:10 +0300
committerDarshan Baral <darshanbaral@gmail.com>2019-07-07 04:24:10 +0300
commit7cfaf1ddcddf9512b1246d175c441f262e707fdf (patch)
tree5678fe2132dafc3e330b6d6a7b6be2c9b0d9f853
parent391e66a84cac3742bff95fb4404dcebc48f62a58 (diff)
Style updates
-rw-r--r--layouts/_default/single.html2
-rw-r--r--static/css/khata.css1
2 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 503b998..f0be58d 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,6 +1,6 @@
{{ define "main" }}
<div class="standard main rounded mt-4 mb-4" role="main">
- <article class="shadow p-4 border border-secondary rounded position-relative">
+ <article class="shadow p-4 border border-secondary rounded position-relative" style="min-height: calc(100vh - 250px)">
<h1 class="top-h1">
{{- .Title -}}
</h1>
diff --git a/static/css/khata.css b/static/css/khata.css
index c7d7c15..815efd7 100644
--- a/static/css/khata.css
+++ b/static/css/khata.css
@@ -21,6 +21,7 @@ code, pre {
}
pre {
display: inline-block;
+ max-width: 100%;
clear: both;
padding: 5px 15px 5px 15px;
}