mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Tweak patch list
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
|
||||
import Badge from "@app/components/Badge.svelte";
|
||||
import DiffStatBadge from "@app/components/DiffStatBadge.svelte";
|
||||
import Icon from "@app/components/Icon.svelte";
|
||||
import IconSmall from "@app/components/IconSmall.svelte";
|
||||
import InlineMarkdown from "@app/components/InlineMarkdown.svelte";
|
||||
import Link from "@app/components/Link.svelte";
|
||||
@@ -75,7 +74,8 @@
|
||||
.state {
|
||||
justify-self: center;
|
||||
align-self: flex-start;
|
||||
margin-right: 1.5rem;
|
||||
margin-right: 0.5rem;
|
||||
padding: 0.25rem 0;
|
||||
}
|
||||
.labels {
|
||||
display: flex;
|
||||
@@ -119,7 +119,7 @@
|
||||
class:open={patch.state.status === "open"}
|
||||
class:merged={patch.state.status === "merged"}
|
||||
class:archived={patch.state.status === "archived"}>
|
||||
<Icon name="patch" />
|
||||
<IconSmall name="patch" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="summary">
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
import DropdownList from "@app/components/DropdownList.svelte";
|
||||
import DropdownListItem from "@app/components/DropdownList/DropdownListItem.svelte";
|
||||
import ErrorMessage from "@app/components/ErrorMessage.svelte";
|
||||
import Icon from "@app/components/Icon.svelte";
|
||||
import IconSmall from "@app/components/IconSmall.svelte";
|
||||
import Layout from "./Layout.svelte";
|
||||
import Link from "@app/components/Link.svelte";
|
||||
@@ -111,7 +110,7 @@
|
||||
ariaLabel="filter-dropdown"
|
||||
title="Filter patches by state">
|
||||
<div style:color={stateColor[state]}>
|
||||
<Icon name="patch" />
|
||||
<IconSmall name="patch" />
|
||||
</div>
|
||||
{capitalize(state)}
|
||||
<div class="dropdown-button-counter">
|
||||
@@ -132,7 +131,7 @@
|
||||
}}>
|
||||
<DropdownListItem selected={item === state}>
|
||||
<div style:color={stateColor[item]}>
|
||||
<Icon name="patch" />
|
||||
<IconSmall name="patch" />
|
||||
</div>
|
||||
<div
|
||||
style="display: flex; gap: 1rem;justify-content: space-between; width: 100%;">
|
||||
|
||||
Reference in New Issue
Block a user