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

github.com/vividvilla/ezhil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek R <vividvilla@gmail.com>2020-05-24 09:48:26 +0300
committerGitHub <noreply@github.com>2020-05-24 09:48:26 +0300
commit4f12837a2a282fa3f29d982161b906ff37fd5165 (patch)
treeeebe52227013d601264d988d65efc4560cb345ee
parentaf7542395d7d01c1eebf0fdd957c944f3a04d1a1 (diff)
parent30f99b49bf0e323f78b1a89de52e9e30a5bc103d (diff)
Merge pull request #51 from komish/make-pre-code-inline-block
render code blocks as inline-block to fix indentation/padding issue
-rw-r--r--static/css/dark.css6
-rw-r--r--static/css/main.css5
2 files changed, 10 insertions, 1 deletions
diff --git a/static/css/dark.css b/static/css/dark.css
index 94b69e8..eeca406 100644
--- a/static/css/dark.css
+++ b/static/css/dark.css
@@ -66,4 +66,8 @@ table th {
table th, table td {
padding: 10px 20px;
border: 1px solid #666;
-} \ No newline at end of file
+}
+
+pre code {
+ display: inline-block
+}
diff --git a/static/css/main.css b/static/css/main.css
index 2e7cda5..6d2edbf 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -191,6 +191,11 @@ ul {
background-color: #FAFAFA;
}
+pre code {
+ display: inline-block;
+}
+
+
.wrapper {
max-width: 760px;
margin: 0 auto;