mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-25 14:50:30 +08:00
Add reload button to sidebar
This commit is contained in:
@@ -173,6 +173,13 @@
|
||||
stylePadding="0 4px">
|
||||
<span class="icon"><Icon name="arrow-right" /></span>
|
||||
</Button>
|
||||
<Button
|
||||
variant="naked"
|
||||
title="Reload"
|
||||
onclick={() => window.location.reload()}
|
||||
stylePadding="0 4px">
|
||||
<span class="icon"><Icon name="refresh" /></span>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<div class="nav">
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
| "play"
|
||||
| "plus"
|
||||
| "question-mark"
|
||||
| "refresh"
|
||||
| "reply"
|
||||
| "repository"
|
||||
| "revision"
|
||||
@@ -595,6 +596,9 @@
|
||||
d="M8.625 11.625C8.625 11.9702 8.34518 12.25 8 12.25C7.65482 12.25 7.375 11.9702 7.375 11.625C7.375 11.2798 7.65482 11 8 11C8.34518 11 8.625 11.2798 8.625 11.625Z" />
|
||||
<path
|
||||
d="M9.63379 6.5C9.63379 5.89312 9.41336 5.5453 9.13867 5.33496C8.84286 5.10866 8.42725 5 8 5C7.57445 5 7.20236 5.10724 6.94531 5.32129C6.7043 5.52213 6.5 5.87024 6.5 6.5H5.5C5.5 5.62992 5.79588 4.97787 6.30469 4.55371C6.79763 4.14292 7.42571 4 8 4C8.57275 4 9.22492 4.14134 9.74609 4.54004C10.2882 4.95474 10.6338 5.60725 10.6338 6.5C10.6338 7.32703 10.1246 7.91638 9.6123 8.29102C9.24736 8.55787 8.84058 8.74663 8.5 8.86816V10H7.5V8.10938L7.87891 8.01465C8.16659 7.9427 8.63623 7.76595 9.02148 7.48438C9.40947 7.20067 9.63379 6.87287 9.63379 6.5Z" />
|
||||
{:else if name === "refresh"}
|
||||
<path
|
||||
d="M5.96036 2.90149C6.96895 2.49575 8.07552 2.39324 9.142 2.60755C10.0752 2.79513 10.9424 3.21774 11.6606 3.83216L11.9594 4.10755L11.9604 4.1095L13.269 5.41712V2.63001H14.269V7.13001H9.76896V6.13001H12.5678L11.2533 4.81653C10.6227 4.19192 9.81944 3.76385 8.94474 3.58802C8.06925 3.41213 7.16092 3.4963 6.33341 3.82923C5.50583 4.16223 4.79588 4.72924 4.29239 5.45911C3.789 6.18894 3.51339 7.04944 3.5004 7.93274C3.48749 8.81618 3.73826 9.6848 4.22013 10.4288C4.70202 11.1727 5.39497 11.7597 6.21231 12.1163C7.02978 12.4729 7.93547 12.5835 8.81583 12.4327C9.69613 12.2819 10.5116 11.8769 11.1606 11.2697L11.8442 12.0001C11.0519 12.7415 10.057 13.2344 8.98478 13.4181C7.91231 13.6017 6.80843 13.4681 5.81192 13.0333C4.81535 12.5985 3.96941 11.8815 3.38028 10.9718C2.79121 10.0622 2.48556 8.99983 2.50138 7.91809C2.51727 6.83653 2.85387 5.78388 3.46915 4.89173C4.08457 3.99954 4.95161 3.3074 5.96036 2.90149Z" />
|
||||
{:else if name === "reply"}
|
||||
<path
|
||||
d="M5.35352 2.35352L3.20703 4.5H14.5V13.5H10V12.5H13.5V5.5H3.20703L5.35352 7.64648L4.64648 8.35352L1.29297 5L4.64648 1.64648L5.35352 2.35352Z" />
|
||||
|
||||
Reference in New Issue
Block a user