Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix HomepageSection overflow
Sebastian Martinez committed 2 years ago
commit 991970444927521e002d9794aef5fca270f7a109
parent fca515ab00ecbfae370755b2132d2eea21052afd
3 files changed +3 -6
modified src/components/Command.svelte
@@ -23,11 +23,8 @@
    font-family: var(--font-family-monospace);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
-
    overflow: hidden;
    padding: 0 2rem 0 0.75rem;
    position: relative;
-
    text-overflow: ellipsis;
-
    white-space: nowrap;
    border: 1px solid var(--color-border-hint);
    color: var(--color-foreground-dim);
    user-select: none;
@@ -58,7 +55,7 @@
  <div
    role="button"
    tabindex="0"
-
    class="cmd"
+
    class="cmd txt-overflow"
    class:full-width={fullWidth}
    on:click={() => {
      clipboard.copy();
modified src/views/home/Index.svelte
@@ -122,7 +122,7 @@
        <svelte:fragment slot="empty">
          <div class="empty-state">
            {#if !nodeId}
-
              <div style:text-align="left">
+
              <div style="text-align: left; width: 100%;">
                <ConnectInstructions />
              </div>
            {:else if localProjects === "error"}
modified src/views/home/components/HomepageSection.svelte
@@ -44,7 +44,7 @@
  }

  .empty-container > .inner {
-
    max-width: 32rem;
+
    max-width: 36rem;
    min-height: 12rem;
    display: flex;
    flex-direction: column;