mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 10:02:26 +03:00
Merge pull request #263 from gitbutlerapp/bug-terminal-sidebar-width
Bug terminal sidebar width
This commit is contained in:
commit
a4f7ed7ff5
@ -67,6 +67,24 @@ input:focus {
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* Side Bar */
|
||||
.side-panel {
|
||||
@apply h-full w-[424px] border-r border-zinc-700;
|
||||
}
|
||||
|
||||
/* Main Content Container */
|
||||
.main-content-container {
|
||||
@apply flex h-full w-2/3 flex-auto flex-col;
|
||||
}
|
||||
|
||||
/* Card Styling */
|
||||
.card {
|
||||
@apply rounded border-[0.5px] border-gb-700 bg-card-default shadow;
|
||||
/* background-image: url("http://api.thumbr.it/whitenoise-361x370.png?background=212121ff&noise=4d4d4d&density=40&opacity=100"); */
|
||||
/* background-opacity: 0.1; */
|
||||
/* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==); */
|
||||
}
|
||||
|
||||
/* Text Editor */
|
||||
.token-attribute {
|
||||
@apply cursor-default select-none;
|
||||
|
@ -58,7 +58,7 @@
|
||||
</script>
|
||||
|
||||
<div id="project-overview" class="flex h-full w-full flex-auto">
|
||||
<div class="work-in-progress-sidebar side-panel flex w-[424px] flex-col border-r border-zinc-700">
|
||||
<div class="work-in-progress-sidebar side-panel flex flex-col">
|
||||
<div class="recent-changes flex flex-col gap-4 border-b border-b-zinc-700 p-4 ">
|
||||
<h2 class="text-lg font-bold text-zinc-300">Work in Progress</h2>
|
||||
|
||||
@ -89,9 +89,7 @@
|
||||
|
||||
<ul class="mx-1 flex flex-auto flex-col overflow-auto">
|
||||
{#each $recentActivity as activity}
|
||||
<li
|
||||
class="mb-2 ml-3 mr-1 flex flex-col gap-2 rounded border border-zinc-700 bg-[#2F2F33] p-3 text-zinc-400"
|
||||
>
|
||||
<li class="card mb-2 ml-3 mr-1 flex flex-col gap-2 p-3 text-zinc-400">
|
||||
<div class="flex flex-row justify-between text-zinc-500">
|
||||
<span>
|
||||
{new Date(activity.timestampMs).toLocaleDateString('en-us', {
|
||||
@ -113,7 +111,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex w-2/3 flex-auto flex-col gap-4">
|
||||
<div class="main-content-container flex w-2/3 flex-auto flex-col gap-4">
|
||||
<h1 class="flex px-8 pt-4 text-2xl text-zinc-300">
|
||||
<span>{$project?.title}</span>
|
||||
<span class="ml-2 text-zinc-600">Project</span>
|
||||
|
@ -11,7 +11,7 @@
|
||||
);
|
||||
</script>
|
||||
|
||||
<div class="file-activity w-[50%] font-mono text-zinc-400">
|
||||
<div class="file-activity w-full font-mono text-zinc-400">
|
||||
{#each buckets as bucket}
|
||||
<span
|
||||
class={`inline-block w-full rounded-t-sm`}
|
||||
|
@ -51,9 +51,7 @@
|
||||
</script>
|
||||
|
||||
{#each $fileDeltasByDate as [date, fileDeltas, largestBucketSize]}
|
||||
<li
|
||||
class="card changed-day-card flex flex-col rounded border-[0.5px] border-gb-700 bg-card-default"
|
||||
>
|
||||
<li class="card changed-day-card flex flex-col">
|
||||
<header
|
||||
class="header flex flex-row justify-between gap-2 rounded-tl rounded-tr border-b-gb-700 bg-card-active px-3 py-2"
|
||||
>
|
||||
@ -73,7 +71,7 @@
|
||||
{#each Object.entries(fileDeltas) as [filepath, deltas]}
|
||||
<li class="changed-file flex items-center justify-between gap-4 ">
|
||||
<a
|
||||
class="file-name flex w-[50%] overflow-auto py-2 font-mono hover:underline"
|
||||
class="file-name max-w- flex w-full max-w-[360px] overflow-auto py-2 font-mono hover:underline"
|
||||
href="/projects/{projectId}/player/{format(
|
||||
date,
|
||||
'yyyy-MM-dd'
|
||||
|
@ -223,12 +223,10 @@
|
||||
</svelte:fragment>
|
||||
</Dialog>
|
||||
<div id="commit-page" class="flex h-full w-full">
|
||||
<div class="commit-panel-container flex h-full w-[424px] flex-col border-r border-zinc-700">
|
||||
<div class="commit-panel-container side-panel flex flex-col">
|
||||
<form on:submit|preventDefault={onCommit} class="flex h-full flex-col gap-4 px-4">
|
||||
<h1 class="pt-2 text-2xl font-bold">Commit</h1>
|
||||
<ul
|
||||
class="flex h-full w-full flex-col overflow-auto rounded border border-gb-700 bg-card-default"
|
||||
>
|
||||
<ul class="card flex h-full w-full flex-col overflow-auto">
|
||||
<header class="flex w-full items-center rounded-tl rounded-tr bg-card-active p-2">
|
||||
<input
|
||||
type="checkbox"
|
||||
@ -366,19 +364,15 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div
|
||||
id="preview"
|
||||
class="relative m-2 flex w-2/3 flex-auto flex-col overflow-auto rounded border-[0.5px] border-gb-700 bg-card-default"
|
||||
>
|
||||
<div class="main-content-container">
|
||||
<div id="preview" class="card relative m-2 flex h-full flex-col overflow-auto ">
|
||||
{#if $selectedDiffPath}
|
||||
{#if $selectedDiff}
|
||||
<header class="flex items-center gap-3 bg-card-active px-3 py-2">
|
||||
<span>{$selectedDiffPath}</span>
|
||||
|
||||
<header class="flex items-center gap-3 bg-card-active py-2 pl-2 pr-3">
|
||||
<div class="flex items-center gap-1">
|
||||
<button
|
||||
on:click={selectPreviousFile}
|
||||
class="cursor-pointer rounded border border-zinc-500 bg-zinc-600 p-0.5"
|
||||
class="rounded border border-zinc-500 bg-zinc-600 p-0.5"
|
||||
class:hover:bg-zinc-500={$hasPreviousFile}
|
||||
class:cursor-not-allowed={!$hasPreviousFile}
|
||||
class:text-zinc-500={!$hasPreviousFile}
|
||||
@ -387,7 +381,7 @@
|
||||
</button>
|
||||
<button
|
||||
on:click={selectNextFile}
|
||||
class="cursor-pointer rounded border border-zinc-500 bg-zinc-600 p-0.5"
|
||||
class="rounded border border-zinc-500 bg-zinc-600 p-0.5"
|
||||
class:hover:bg-zinc-500={$hasNextFile}
|
||||
class:cursor-not-allowed={!$hasNextFile}
|
||||
class:text-zinc-500={!$hasNextFile}
|
||||
@ -395,6 +389,8 @@
|
||||
<IconChevronDown class="h-4 w-4" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<span>{$selectedDiffPath}</span>
|
||||
</header>
|
||||
|
||||
<div id="code" class="flex-auto overflow-auto px-2">
|
||||
@ -481,6 +477,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style lang="postcss">
|
||||
.changed-file-list-container {
|
||||
|
@ -65,7 +65,7 @@
|
||||
class:text-white={date === $currentDate}
|
||||
class:border-zinc-700={date !== $currentDate}
|
||||
class:bg-card-default={date !== $currentDate}
|
||||
class="calendar-card max-h-content flex w-full flex-col items-center justify-around rounded border-[0.5px] border-gb-700 p-2 text-zinc-300 shadow transition duration-150 ease-out hover:ease-in"
|
||||
class="card max-h-content flex w-full flex-col items-center justify-around p-2 text-zinc-300 shadow transition duration-150 ease-out hover:ease-in"
|
||||
>
|
||||
{#if isToday}
|
||||
<div class="py-2 text-lg leading-5">Today</div>
|
||||
|
@ -260,10 +260,7 @@
|
||||
);
|
||||
</script>
|
||||
|
||||
<article
|
||||
id="activities"
|
||||
class="my-2 flex w-80 flex-shrink-0 flex-grow-0 flex-col rounded border-[0.5px] border-gb-700 bg-card-default xl:w-96"
|
||||
>
|
||||
<article id="activities" class="card my-2 flex w-80 flex-shrink-0 flex-grow-0 flex-col xl:w-96">
|
||||
{#await richSessions.load()}
|
||||
<div class="flex h-full flex-col items-center justify-center">
|
||||
<div
|
||||
@ -341,10 +338,7 @@
|
||||
{/await}
|
||||
</article>
|
||||
|
||||
<div
|
||||
id="player"
|
||||
class="relative my-2 flex flex-auto flex-col overflow-auto rounded border-[0.5px] border-gb-700 bg-card-default"
|
||||
>
|
||||
<div id="player" class="card relative my-2 flex flex-auto flex-col overflow-auto">
|
||||
{#if $frame}
|
||||
<header class="flex items-center gap-3 bg-card-active px-3 py-2">
|
||||
<span class="min-w-[200px]">
|
||||
@ -355,7 +349,7 @@
|
||||
<div class="flex items-center gap-1">
|
||||
<button
|
||||
on:click={goToPrevSession}
|
||||
class="cursor-pointer rounded border border-zinc-500 bg-zinc-600 p-0.5"
|
||||
class="rounded border border-zinc-500 bg-zinc-600 p-0.5"
|
||||
class:hover:bg-zinc-500={$hasPrevSession}
|
||||
class:cursor-not-allowed={!$hasPrevSession}
|
||||
class:text-zinc-500={!$hasPrevSession}
|
||||
@ -364,7 +358,7 @@
|
||||
</button>
|
||||
<button
|
||||
on:click={goToNextSession}
|
||||
class="cursor-pointer rounded border border-zinc-500 bg-zinc-600 p-0.5"
|
||||
class="rounded border border-zinc-500 bg-zinc-600 p-0.5"
|
||||
class:hover:bg-zinc-500={$hasNextSession}
|
||||
class:cursor-not-allowed={!$hasNextSession}
|
||||
class:text-zinc-500={!$hasNextSession}
|
||||
@ -417,24 +411,33 @@
|
||||
|
||||
<div class="playback-controller-ui mx-auto flex w-full items-center justify-between gap-2">
|
||||
<div class="left-side flex space-x-8">
|
||||
<div class="play-button-button-container group">
|
||||
<div class="play-button-button-container">
|
||||
{#if interval}
|
||||
<button class="playback-button group" on:click={stop}>
|
||||
<button
|
||||
class="player-button group fill-zinc-400 duration-300 ease-in-out hover:scale-125"
|
||||
on:click={stop}
|
||||
>
|
||||
<IconPlayerPauseFilled
|
||||
class="playback-button-play icon-pointer fill-red-400 h-6 w-6 group-hover:fill-zinc-100"
|
||||
class="player-button-play icon-pointer h-6 w-6 fill-zinc-400 group-hover:fill-zinc-100 "
|
||||
/>
|
||||
</button>
|
||||
{:else}
|
||||
<button class="playback-button group" on:click={play}>
|
||||
<button
|
||||
class="player-button group fill-zinc-400 duration-300 ease-in-out hover:scale-125"
|
||||
on:click={play}
|
||||
>
|
||||
<IconPlayerPlayFilled
|
||||
class="playback-button-pause icon-pointer fill-red-400 h-6 w-6 group-hover:fill-zinc-100"
|
||||
class="player-button-pause icon-pointer h-6 w-6 fill-zinc-400 group-hover:fill-zinc-100"
|
||||
/>
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="back-forward-button-container ">
|
||||
<button on:click={gotoPrevDelta} class="playback-button-back group">
|
||||
<button
|
||||
on:click={gotoPrevDelta}
|
||||
class="player-button-back group duration-300 ease-in-out hover:scale-125"
|
||||
>
|
||||
<svg
|
||||
width="20"
|
||||
height="20"
|
||||
@ -453,7 +456,10 @@
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<button on:click={gotoNextDelta} class="playback-button-forward group">
|
||||
<button
|
||||
on:click={gotoNextDelta}
|
||||
class="player-button-forward group duration-300 ease-in-out hover:scale-125"
|
||||
>
|
||||
<svg
|
||||
width="20"
|
||||
height="20"
|
||||
@ -480,7 +486,7 @@
|
||||
<button class="checkbox-button">
|
||||
<label
|
||||
for="full-context-checkbox"
|
||||
class="group block cursor-default rounded transition-colors duration-200 ease-in-out hover:bg-zinc-700 "
|
||||
class="group block cursor-default rounded transition-colors duration-300 ease-in-out hover:bg-[#FFFFFF]/20 "
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
@ -497,7 +503,7 @@
|
||||
<path
|
||||
d="M10.177 2.07944L13.073 5.21176C13.1081 5.24957 13.1319 5.2978 13.1416 5.35031C13.1513 5.40283 13.1464 5.45727 13.1274 5.50674C13.1084 5.55621 13.0763 5.59848 13.0351 5.62818C12.9939 5.65789 12.9455 5.67369 12.896 5.6736H10.75V7.0256C10.75 7.24074 10.671 7.44707 10.5303 7.5992C10.3897 7.75133 10.1989 7.8368 10 7.8368C9.80109 7.8368 9.61032 7.75133 9.46967 7.5992C9.32902 7.44707 9.25 7.24074 9.25 7.0256V5.6736H7.104C7.05449 5.67369 7.00607 5.65789 6.96487 5.62818C6.92368 5.59848 6.89157 5.55621 6.87261 5.50674C6.85365 5.45727 6.8487 5.40283 6.85838 5.35031C6.86806 5.2978 6.89195 5.24957 6.927 5.21176L9.823 2.07944C9.84622 2.05426 9.87381 2.03428 9.90418 2.02065C9.93456 2.00702 9.96712 2 10 2C10.0329 2 10.0654 2.00702 10.0958 2.02065C10.1262 2.03428 10.1538 2.05426 10.177 2.07944ZM9.25 12.9744C9.25 12.7593 9.32902 12.5529 9.46967 12.4008C9.61032 12.2487 9.80109 12.1632 10 12.1632C10.1989 12.1632 10.3897 12.2487 10.5303 12.4008C10.671 12.5529 10.75 12.7593 10.75 12.9744V14.3264H12.896C12.9455 14.3263 12.9939 14.3421 13.0351 14.3718C13.0763 14.4015 13.1084 14.4438 13.1274 14.4933C13.1464 14.5427 13.1513 14.5972 13.1416 14.6497C13.1319 14.7022 13.1081 14.7504 13.073 14.7882L10.177 17.9206C10.1538 17.9457 10.1262 17.9657 10.0958 17.9794C10.0654 17.993 10.0329 18 10 18C9.96712 18 9.93456 17.993 9.90418 17.9794C9.87381 17.9657 9.84622 17.9457 9.823 17.9206L6.927 14.7882C6.89195 14.7504 6.86806 14.7022 6.85838 14.6497C6.8487 14.5972 6.85365 14.5427 6.87261 14.4933C6.89157 14.4438 6.92368 14.4015 6.96487 14.3718C7.00607 14.3421 7.05449 14.3263 7.104 14.3264H9.25V12.9744ZM4.25 10.8112C4.44891 10.8112 4.63968 10.7257 4.78033 10.5736C4.92098 10.4215 5 10.2151 5 10C5 9.78486 4.92098 9.57852 4.78033 9.42639C4.63968 9.27426 4.44891 9.1888 4.25 9.1888H3.75C3.55109 9.1888 3.36032 9.27426 3.21967 9.42639C3.07902 9.57852 3 9.78486 3 10C3 10.2151 3.07902 10.4215 3.21967 10.5736C3.36032 10.7257 3.55109 10.8112 3.75 10.8112H4.25ZM8 10C8 10.2151 7.92098 10.4215 7.78033 10.5736C7.63968 10.7257 7.44891 10.8112 7.25 10.8112H6.75C6.55109 10.8112 6.36032 10.7257 6.21967 10.5736C6.07902 10.4215 6 10.2151 6 10C6 9.78486 6.07902 9.57852 6.21967 9.42639C6.36032 9.27426 6.55109 9.1888 6.75 9.1888H7.25C7.44891 9.1888 7.63968 9.27426 7.78033 9.42639C7.92098 9.57852 8 9.78486 8 10ZM10.25 10.8112C10.4489 10.8112 10.6397 10.7257 10.7803 10.5736C10.921 10.4215 11 10.2151 11 10C11 9.78486 10.921 9.57852 10.7803 9.42639C10.6397 9.27426 10.4489 9.1888 10.25 9.1888H9.75C9.55109 9.1888 9.36032 9.27426 9.21967 9.42639C9.07902 9.57852 9 9.78486 9 10C9 10.2151 9.07902 10.4215 9.21967 10.5736C9.36032 10.7257 9.55109 10.8112 9.75 10.8112H10.25ZM14 10C14 10.2151 13.921 10.4215 13.7803 10.5736C13.6397 10.7257 13.4489 10.8112 13.25 10.8112H12.75C12.5511 10.8112 12.3603 10.7257 12.2197 10.5736C12.079 10.4215 12 10.2151 12 10C12 9.78486 12.079 9.57852 12.2197 9.42639C12.3603 9.27426 12.5511 9.1888 12.75 9.1888H13.25C13.4489 9.1888 13.6397 9.27426 13.7803 9.42639C13.921 9.57852 14 9.78486 14 10ZM16.25 10.8112C16.4489 10.8112 16.6397 10.7257 16.7803 10.5736C16.921 10.4215 17 10.2151 17 10C17 9.78486 16.921 9.57852 16.7803 9.42639C16.6397 9.27426 16.4489 9.1888 16.25 9.1888H15.75C15.5511 9.1888 15.3603 9.27426 15.2197 9.42639C15.079 9.57852 15 9.78486 15 10C15 10.2151 15.079 10.4215 15.2197 10.5736C15.3603 10.7257 15.5511 10.8112 15.75 10.8112H16.25Z"
|
||||
fill="none"
|
||||
class="fill-zinc-100 p-4 group-hover:fill-zinc-200 "
|
||||
class="fill-zinc-100 p-4 duration-300 ease-in-out group-hover:fill-zinc-200 "
|
||||
/>
|
||||
</svg>
|
||||
|
||||
@ -509,7 +515,7 @@
|
||||
<path
|
||||
d="M10.177 2.07944L13.073 5.21176C13.1081 5.24957 13.1319 5.2978 13.1416 5.35031C13.1513 5.40283 13.1464 5.45727 13.1274 5.50674C13.1084 5.55621 13.0763 5.59848 13.0351 5.62818C12.9939 5.65789 12.9455 5.67369 12.896 5.6736H10.75V7.0256C10.75 7.24074 10.671 7.44707 10.5303 7.5992C10.3897 7.75133 10.1989 7.8368 10 7.8368C9.80109 7.8368 9.61032 7.75133 9.46967 7.5992C9.32902 7.44707 9.25 7.24074 9.25 7.0256V5.6736H7.104C7.05449 5.67369 7.00607 5.65789 6.96487 5.62818C6.92368 5.59848 6.89157 5.55621 6.87261 5.50674C6.85365 5.45727 6.8487 5.40283 6.85838 5.35031C6.86806 5.2978 6.89195 5.24957 6.927 5.21176L9.823 2.07944C9.84622 2.05426 9.87381 2.03428 9.90418 2.02065C9.93456 2.00702 9.96712 2 10 2C10.0329 2 10.0654 2.00702 10.0958 2.02065C10.1262 2.03428 10.1538 2.05426 10.177 2.07944ZM9.25 12.9744C9.25 12.7593 9.32902 12.5529 9.46967 12.4008C9.61032 12.2487 9.80109 12.1632 10 12.1632C10.1989 12.1632 10.3897 12.2487 10.5303 12.4008C10.671 12.5529 10.75 12.7593 10.75 12.9744V14.3264H12.896C12.9455 14.3263 12.9939 14.3421 13.0351 14.3718C13.0763 14.4015 13.1084 14.4438 13.1274 14.4933C13.1464 14.5427 13.1513 14.5972 13.1416 14.6497C13.1319 14.7022 13.1081 14.7504 13.073 14.7882L10.177 17.9206C10.1538 17.9457 10.1262 17.9657 10.0958 17.9794C10.0654 17.993 10.0329 18 10 18C9.96712 18 9.93456 17.993 9.90418 17.9794C9.87381 17.9657 9.84622 17.9457 9.823 17.9206L6.927 14.7882C6.89195 14.7504 6.86806 14.7022 6.85838 14.6497C6.8487 14.5972 6.85365 14.5427 6.87261 14.4933C6.89157 14.4438 6.92368 14.4015 6.96487 14.3718C7.00607 14.3421 7.05449 14.3263 7.104 14.3264H9.25V12.9744ZM4.25 10.8112C4.44891 10.8112 4.63968 10.7257 4.78033 10.5736C4.92098 10.4215 5 10.2151 5 10C5 9.78486 4.92098 9.57852 4.78033 9.42639C4.63968 9.27426 4.44891 9.1888 4.25 9.1888H3.75C3.55109 9.1888 3.36032 9.27426 3.21967 9.42639C3.07902 9.57852 3 9.78486 3 10C3 10.2151 3.07902 10.4215 3.21967 10.5736C3.36032 10.7257 3.55109 10.8112 3.75 10.8112H4.25ZM8 10C8 10.2151 7.92098 10.4215 7.78033 10.5736C7.63968 10.7257 7.44891 10.8112 7.25 10.8112H6.75C6.55109 10.8112 6.36032 10.7257 6.21967 10.5736C6.07902 10.4215 6 10.2151 6 10C6 9.78486 6.07902 9.57852 6.21967 9.42639C6.36032 9.27426 6.55109 9.1888 6.75 9.1888H7.25C7.44891 9.1888 7.63968 9.27426 7.78033 9.42639C7.92098 9.57852 8 9.78486 8 10ZM10.25 10.8112C10.4489 10.8112 10.6397 10.7257 10.7803 10.5736C10.921 10.4215 11 10.2151 11 10C11 9.78486 10.921 9.57852 10.7803 9.42639C10.6397 9.27426 10.4489 9.1888 10.25 9.1888H9.75C9.55109 9.1888 9.36032 9.27426 9.21967 9.42639C9.07902 9.57852 9 9.78486 9 10C9 10.2151 9.07902 10.4215 9.21967 10.5736C9.36032 10.7257 9.55109 10.8112 9.75 10.8112H10.25ZM14 10C14 10.2151 13.921 10.4215 13.7803 10.5736C13.6397 10.7257 13.4489 10.8112 13.25 10.8112H12.75C12.5511 10.8112 12.3603 10.7257 12.2197 10.5736C12.079 10.4215 12 10.2151 12 10C12 9.78486 12.079 9.57852 12.2197 9.42639C12.3603 9.27426 12.5511 9.1888 12.75 9.1888H13.25C13.4489 9.1888 13.6397 9.27426 13.7803 9.42639C13.921 9.57852 14 9.78486 14 10ZM16.25 10.8112C16.4489 10.8112 16.6397 10.7257 16.7803 10.5736C16.921 10.4215 17 10.2151 17 10C17 9.78486 16.921 9.57852 16.7803 9.42639C16.6397 9.27426 16.4489 9.1888 16.25 9.1888H15.75C15.5511 9.1888 15.3603 9.27426 15.2197 9.42639C15.079 9.57852 15 9.78486 15 10C15 10.2151 15.079 10.4215 15.2197 10.5736C15.3603 10.7257 15.5511 10.8112 15.75 10.8112H16.25Z"
|
||||
fill="none"
|
||||
class="fill-zinc-600 p-4 group-hover:fill-zinc-200 "
|
||||
class="fill-zinc-600 p-4 duration-300 ease-in-out group-hover:fill-zinc-200"
|
||||
/>
|
||||
</svg>
|
||||
</label>
|
||||
|
@ -32,7 +32,7 @@
|
||||
</script>
|
||||
|
||||
<div class="terminal-page flex h-full w-full flex-auto flex-row">
|
||||
<div class="side-panel h-full w-[424px] flex-auto p-4">
|
||||
<div class="side-panel p-4">
|
||||
<h2 class="pb-4 text-lg font-bold text-zinc-300">Git Status</h2>
|
||||
<Statuses statuses={$statuses} />
|
||||
<div class="mt-4 font-bold">Commands</div>
|
||||
@ -43,7 +43,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="main-content h-full w-2/3 flex-auto">
|
||||
<div class="main-content-container h-full">
|
||||
<div class="flex h-full w-full flex-row">
|
||||
<div class="h-full w-full" use:terminal={{ project: $project }} />
|
||||
<ResizeObserver on:resize={handleTerminalResize} />
|
||||
|
Loading…
Reference in New Issue
Block a user