Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Move popover padding into the component
Rūdolfs Ošiņš committed 2 years ago
commit 6d7d7660d5ae78ed8a8d736e9b8ccdfdeed2a2ce
parent b8408db4f114abce2d3c80f9c945c860990b5f3c
3 files changed +3 -8
modified src/components/HoverPopover.svelte
@@ -28,6 +28,7 @@
    position: relative;
    right: 1rem;
    z-index: 10;
+
    padding: 1rem;
  }
</style>

modified src/views/projects/Source/BranchSelector.svelte
@@ -50,10 +50,7 @@
          <IconSmall name="branch" />
          <div class="identifier">{project.defaultBranch}</div>
        </Button>
-
        <div
-
          class="txt-small"
-
          style:padding="0.5rem 0.5rem 0.5rem 0.75rem"
-
          slot="popover">
+
        <div class="txt-small" slot="popover">
          <div style:margin-bottom="1rem">
            You are currently browsing the canonical branch.
          </div>
modified src/views/projects/Source/Header.svelte
@@ -109,10 +109,7 @@
        {pluralize("contributor", tree.stats.contributors)}
      </div>
    </Button>
-
    <div
-
      class="txt-small"
-
      style:padding="0.5rem 0.5rem 0.5rem 0.75rem"
-
      slot="popover">
+
    <div class="txt-small" slot="popover">
      <div style:margin-bottom="1rem">Coming soon.</div>
      <div>Listing all contributors is not yet implemented.</div>
    </div>