mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
Mobile fixes for project view
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -415,6 +415,11 @@ span.small, .text-xsmall {
|
||||
.text-big {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
.text-truncate {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.notice {
|
||||
font-size: 0.875rem;
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@
|
||||
padding: 0.5rem;
|
||||
border: none;
|
||||
outline: none;
|
||||
width: 24rem;
|
||||
width: 100%;
|
||||
text-overflow: ellipsis !important;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
@@ -126,13 +126,15 @@
|
||||
border-color: var(--color-secondary-faded);
|
||||
}
|
||||
.column-right {
|
||||
padding: 1rem 0;
|
||||
padding: 1.5rem 0;
|
||||
min-width: 0;
|
||||
}
|
||||
.source-tree {
|
||||
padding-top: 1rem;
|
||||
padding: 0 2rem;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
.container {
|
||||
padding: 0;
|
||||
flex-direction: column;
|
||||
}
|
||||
.column-left {
|
||||
|
||||
@@ -95,7 +95,11 @@
|
||||
padding: 1rem;
|
||||
display: none;
|
||||
}
|
||||
.clone-dropdown {
|
||||
width: 24rem;
|
||||
}
|
||||
.clone-dropdown.clone-dropdown-visible {
|
||||
position: absolute;
|
||||
display: block;
|
||||
}
|
||||
.dropdown label {
|
||||
@@ -126,7 +130,9 @@
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.dropdown {
|
||||
left: 32px;
|
||||
width: auto;
|
||||
left: 2rem;
|
||||
right: 2rem;
|
||||
z-index: 10;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,9 +95,7 @@
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 1.5rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 1.375rem;
|
||||
}
|
||||
.description {
|
||||
font-size: 0.875rem;
|
||||
@@ -122,7 +120,9 @@
|
||||
</a>
|
||||
<span class="divider">/</span>
|
||||
{/if}
|
||||
<Link to={rootPath()}>{project.name}</Link>
|
||||
<span class="text-truncate">
|
||||
<Link to={rootPath()}>{project.name}</Link>
|
||||
</span>
|
||||
{#if peer}
|
||||
<span class="peer-id">
|
||||
<span class="divider">/</span><span title={peer}>{formatSeedId(peer)}</span><Clipboard text={peer} />
|
||||
@@ -130,7 +130,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
<div class="urn">
|
||||
<span>{project.urn}</span>
|
||||
<span class="text-truncate">{project.urn}</span>
|
||||
<Clipboard small text={project.urn} />
|
||||
</div>
|
||||
<div class="description">{project.description}</div>
|
||||
|
||||
Reference in New Issue
Block a user