mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-24 05:29:51 +03:00
pnpm format
This commit is contained in:
parent
e5de6bcf7b
commit
9e9caff60f
@ -78,9 +78,8 @@
|
||||
<style lang="postcss">
|
||||
a,
|
||||
button {
|
||||
@apply relative flex w-fit cursor-pointer items-center justify-center gap-[10px] whitespace-nowrap rounded text-base font-medium transition ease-in-out hover:underline transition duration-150 ease-out hover:ease-in;
|
||||
@apply relative flex w-fit cursor-pointer items-center justify-center gap-[10px] whitespace-nowrap rounded text-base font-medium transition transition duration-150 ease-in-out ease-out hover:underline hover:ease-in;
|
||||
text-underline-offset: 3px;
|
||||
|
||||
}
|
||||
|
||||
.basic {
|
||||
|
@ -201,7 +201,7 @@
|
||||
<div class="mr-1 flex-grow">
|
||||
<!-- svelte-ignore a11y-autofocus -->
|
||||
<input
|
||||
class="command-palette-input w-full bg-transparent text-zinc-300 text-lg leading-10 focus:outline-none"
|
||||
class="command-palette-input w-full bg-transparent text-lg leading-10 text-zinc-300 focus:outline-none"
|
||||
bind:value={userInput}
|
||||
on:input|stopPropagation={updateMatchFilesQuery}
|
||||
type="text"
|
||||
|
@ -181,7 +181,7 @@
|
||||
/>
|
||||
|
||||
<div class="commit-description-container relative">
|
||||
<div class="generating-commit bg-zinc-600 px-3 py-1 absolute top-1 left-1 rounded">
|
||||
<div class="generating-commit absolute top-1 left-1 rounded bg-zinc-600 px-3 py-1">
|
||||
✨ Summarizing changes...
|
||||
</div>
|
||||
<textarea
|
||||
@ -239,7 +239,10 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="preview" class="m-4 flex flex-auto cursor-text select-text overflow-auto border rounded p-4 border-gb-700 bg-card-default">
|
||||
<div
|
||||
id="preview"
|
||||
class="m-4 flex flex-auto cursor-text select-text overflow-auto rounded border border-gb-700 bg-card-default p-4"
|
||||
>
|
||||
{#if $selectedDiffPath !== undefined}
|
||||
{#if $selectedDiff !== undefined}
|
||||
<DiffViewer diff={$selectedDiff} path={$selectedDiffPath} />
|
||||
|
@ -69,9 +69,7 @@
|
||||
on:submit={onSubmit}
|
||||
class="user-form flex flex-row items-start justify-between gap-12 rounded-lg py-2"
|
||||
>
|
||||
|
||||
|
||||
<fields id="right" class="pt-6 flex flex-col items-center gap-2">
|
||||
<fields id="right" class="flex flex-col items-center gap-2 pt-6">
|
||||
{#if $user.picture}
|
||||
<img
|
||||
class="h-28 w-28 rounded-full border-zinc-300"
|
||||
@ -97,7 +95,6 @@
|
||||
</label>
|
||||
</fields>
|
||||
|
||||
|
||||
<fields id="left" class="flex flex-1 flex-col gap-3">
|
||||
<div class="flex flex-col gap-1">
|
||||
<label for="name" class="text-zinc-400">Name</label>
|
||||
@ -123,12 +120,10 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<footer class="pt-4 flex justify-end">
|
||||
<footer class="flex justify-end pt-4">
|
||||
<Button loading={saving} role="primary" type="submit">Update profile</Button>
|
||||
</footer>
|
||||
</fields>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
{:else}
|
||||
@ -201,20 +196,19 @@
|
||||
|
||||
<div class="mt-8 flex flex-col border-t border-zinc-400 pt-4">
|
||||
<div class="mt-4">
|
||||
<a
|
||||
class="flex flex-col gap-2 rounded border border-zinc-700 bg-card-default hover:bg-card-active shadow p-3 text-zinc-400 transition duration-150 ease-out hover:ease-in"
|
||||
href="mailto:hello@gitbutler.com?subject=Feedback or question!">
|
||||
<a
|
||||
class="flex flex-col gap-2 rounded border border-zinc-700 bg-card-default p-3 text-zinc-400 shadow transition duration-150 ease-out hover:bg-card-active hover:ease-in"
|
||||
href="mailto:hello@gitbutler.com?subject=Feedback or question!"
|
||||
>
|
||||
<h2 class="text-lg text-zinc-300">Get Support</h2>
|
||||
<div>If you have an issue or any questions, please email us.</div>
|
||||
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<a
|
||||
class="flex flex-col gap-2 rounded border border-zinc-700 bg-card-default hover:bg-card-active shadow p-3 text-zinc-400 transition duration-150 ease-out hover:ease-in"
|
||||
href="https://discord.gg/wDKZCPEjXC"
|
||||
target="_blank"
|
||||
<a
|
||||
class="flex flex-col gap-2 rounded border border-zinc-700 bg-card-default p-3 text-zinc-400 shadow transition duration-150 ease-out hover:bg-card-active hover:ease-in"
|
||||
href="https://discord.gg/wDKZCPEjXC"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
<h2 class="text-lg text-zinc-300">Join our Discord</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user