Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Don't remove padding-top from pre code blocks at the beginning
Sebastian Martinez committed 3 years ago
commit 8a4b5b2a4936dc50eb735c08861911e6b3c20b54
parent a016e981699d54ca369bbaae310dacdbdd3950cc
1 file changed +3 -1
modified src/Markdown.svelte
@@ -233,8 +233,10 @@
    padding: 0.5rem 1rem;
  }

-
  .markdown > :global(*:first-child) {
+
  .markdown :global(*:first-child:not(pre)) {
    padding-top: 0 !important;
+
  }
+
  .markdown :global(*:first-child) {
    margin-top: 0 !important;
  }
  .markdown :global(dl dt) {