Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfs committed Jun 19, 2024
1 parent e4a937c commit 6bcaf4e
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions src/views/nodes/View.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
gap: 0.5rem;
flex-direction: row;
align-items: center;
height: 3.5rem;
margin-left: 1.5rem;
}
.outer-header {
Expand All @@ -82,7 +84,6 @@
display: flex;
justify-content: space-between;
flex-direction: column;
position: sticky;
top: -14.5rem;
z-index: 10;
Expand Down Expand Up @@ -208,14 +209,20 @@
padding: 0;
}
}
@media (max-width: 1010.98px) {
.wrapper {
padding: 3rem 1.5rem;
}
}
</style>

<svelte:window bind:scrollY />

<div class="layout">
<div class="outer-header">
<div class="inner-header">
<div class="breadcrumbs" style:padding="1rem 1.5rem" style:display="flex">
<div class="breadcrumbs">
<Link
style="display: flex; align-items: center;"
route={{ resource: "home" }}>
Expand All @@ -227,15 +234,23 @@
src="/radicle.svg" />
</Link>
{#if smallHeader}
<IconSmall name="seedling" />
{hostname}
<div
in:fade={{ duration: 100 }}
style="display: flex; flex-direction: row; align-items:center; gap: 0.5rem; color: var(--color-foreground-white)">
<IconSmall name="seedling" />
{hostname}
</div>
{/if}
</div>
</div>
{#if !smallHeader}
<div in:fade={{ duration: 200 }}>
<div in:fade={{ duration: 100 }}>
<div style:padding="1.5rem">
<div class="txt-huge txt-semibold">{hostname}</div>
<div
class="txt-huge txt-semibold"
style:color="var(--color-foreground-white)">
{hostname}
</div>
<div class="info">
<div>
{#each externalAddresses as address}
Expand Down

0 comments on commit 6bcaf4e

Please sign in to comment.