mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 02:26:14 +03:00
pnpm format
This commit is contained in:
parent
8b02470b9c
commit
421a24b15c
@ -35,7 +35,7 @@ button {
|
||||
/* Handle */
|
||||
::-webkit-scrollbar-thumb {
|
||||
/* background: #44444A; */
|
||||
background: rgba(255, 255, 255, 0.1 );
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
|
@ -217,7 +217,7 @@
|
||||
<div class="command-pallete-content-container flex-auto overflow-y-auto pb-2">
|
||||
{#each commandGroups as group, groupIdx}
|
||||
{#if group.visible}
|
||||
<div class="px-2 cursor-default select-none w-full">
|
||||
<div class="w-full cursor-default select-none px-2">
|
||||
<p class="commnand-palette-section-header result-section-header">
|
||||
<span>{group.name}</span>
|
||||
{#if group.description}
|
||||
|
@ -83,7 +83,10 @@
|
||||
</script>
|
||||
|
||||
<Modal on:close bind:this={modal}>
|
||||
<form class="command-palette-commit flex flex-col gap-4 rounded p-4 w-full" on:submit|preventDefault={onCommit}>
|
||||
<form
|
||||
class="command-palette-commit flex w-full flex-col gap-4 rounded p-4"
|
||||
on:submit|preventDefault={onCommit}
|
||||
>
|
||||
<header class="w-full border-b border-zinc-700 text-lg font-semibold text-white">
|
||||
Commit Your Changes
|
||||
</header>
|
||||
|
@ -75,8 +75,10 @@
|
||||
</script>
|
||||
|
||||
<Modal on:close bind:this={modal}>
|
||||
<div class="w-full mx-2 mb-2 cursor-default select-none">
|
||||
<p class="commnand-palette-section-header mx-2 cursor-default select-none py-2 text-sm font-semibold text-zinc-300">
|
||||
<div class="mx-2 mb-2 w-full cursor-default select-none">
|
||||
<p
|
||||
class="commnand-palette-section-header mx-2 cursor-default select-none py-2 text-sm font-semibold text-zinc-300"
|
||||
>
|
||||
Replay working history
|
||||
</p>
|
||||
|
||||
@ -92,10 +94,26 @@
|
||||
href="/"
|
||||
>
|
||||
<span class="command-palette-icon icon-replay">
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.35741 9.89998L8.89997 13.6466L8.89997 6.15333L4.35741 9.89998ZM2.93531 9.12852C2.45036 9.52851 2.45036 10.2715 2.93531 10.6714L8.76369 15.4786C9.41593 16.0166 10.4 15.5526 10.4 14.7071L10.4 5.09281C10.4 4.24735 9.41592 3.7834 8.76368 4.32136L2.93531 9.12852Z" fill="#71717A"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.1633 9.89999L15.7 13.3032L15.7 6.49683L12.1633 9.89999ZM10.7488 9.17942C10.34 9.57282 10.34 10.2272 10.7488 10.6206L15.5066 15.1987C16.1419 15.8101 17.2 15.3598 17.2 14.4782L17.2 5.32182C17.2 4.44016 16.1419 3.98992 15.5066 4.60124L10.7488 9.17942Z" fill="#71717A"/>
|
||||
</svg>
|
||||
<svg
|
||||
width="20"
|
||||
height="20"
|
||||
viewBox="0 0 20 20"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M4.35741 9.89998L8.89997 13.6466L8.89997 6.15333L4.35741 9.89998ZM2.93531 9.12852C2.45036 9.52851 2.45036 10.2715 2.93531 10.6714L8.76369 15.4786C9.41593 16.0166 10.4 15.5526 10.4 14.7071L10.4 5.09281C10.4 4.24735 9.41592 3.7834 8.76368 4.32136L2.93531 9.12852Z"
|
||||
fill="#71717A"
|
||||
/>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M12.1633 9.89999L15.7 13.3032L15.7 6.49683L12.1633 9.89999ZM10.7488 9.17942C10.34 9.57282 10.34 10.2272 10.7488 10.6206L15.5066 15.1987C16.1419 15.8101 17.2 15.3598 17.2 14.4782L17.2 5.32182C17.2 4.44016 16.1419 3.98992 15.5066 4.60124L10.7488 9.17942Z"
|
||||
fill="#71717A"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
<span class="quick-command flex-grow">{listItem.label}</span>
|
||||
<span class="quick-command-key">{idx + 1}</span>
|
||||
|
@ -37,7 +37,7 @@ It does minimal styling. A close event is fired when the modal is closed.
|
||||
|
||||
<style>
|
||||
.modal {
|
||||
@apply w-[640px] flex p-0 shadow-lg overflow-hidden rounded-lg border-[0.5px] border-[#3F3F3f] bg-zinc-900/70 p-0 shadow-lg ;
|
||||
@apply flex w-[640px] overflow-hidden rounded-lg border-[0.5px] border-[#3F3F3f] bg-zinc-900/70 p-0 p-0 shadow-lg shadow-lg;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user