Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Tweak spacings between sections
Rūdolfs Ošiņš committed 1 year ago
commit 509d7e4d29bb02e82ec630497b74ede787286137
parent e74e71e594b59830ffe96a9e24bfc52b8d2af21d
1 file changed +2 -2
modified src/components/Revision.svelte
@@ -359,7 +359,7 @@
  </CommentComponent>
</div>

-
<div style:margin="1rem 0">
+
<div style:margin={hideReviews ? "1.5rem 0 1.5rem 0" : "1.5rem 0 2.5rem 0"}>
  <div class="global-flex">
    <NakedButton
      disabled={revision.reviews?.length === 0}
@@ -413,7 +413,7 @@
  {/if}
</div>

-
<div style:margin="1rem 0">
+
<div style:margin={hideDiscussion ? "1.5rem 0" : "0 0 2.5rem 0"}>
  <div class="global-flex">
    <NakedButton
      variant="ghost"