aboutsummaryrefslogtreecommitdiff
path: root/components/Markdown
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-07-21 05:27:09 -0500
committerFurkan Sahin <furkan-dev@proton.me>2026-02-20 13:28:04 -0500
commit4d87e08135f78fbb577b961015483ed4c61bbf41 (patch)
tree31f7e46e018b98f9b5d0a21dd7f720f04bf3b0bb /components/Markdown
parent4f91a4af3da6fea0a1350e93bb78f2245ca8089c (diff)
Add additional info to README, fix errors
Diffstat (limited to 'components/Markdown')
-rw-r--r--components/Markdown/markdown.module.scss15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/Markdown/markdown.module.scss b/components/Markdown/markdown.module.scss
index ebd372c..e1debd1 100644
--- a/components/Markdown/markdown.module.scss
+++ b/components/Markdown/markdown.module.scss
@@ -73,6 +73,10 @@
pre {
padding: 0.5rem 1.0rem;
margin: 0.5rem 0;
+ box-sizing: border-box;
+ }
+ pre > code {
+ padding: 0;
}
code, pre {
@@ -80,6 +84,17 @@
border-radius: 5px;
}
+ pre {
+ overflow: auto;
+ box-sizing: border-box;
+ }
+
+ @media screen and (max-width: 700px) {
+ pre {
+ padding-bottom: 0.7rem;
+ }
+ }
+
li {
line-height: 1.15;
margin-left: 1em;