css fixes
authorPhiTux <redacted>
Mon, 29 Sep 2025 20:56:19 +0000 (22:56 +0200)
committerPhiTux <redacted>
Mon, 29 Sep 2025 20:56:19 +0000 (22:56 +0200)
frontend/src/lib/FileList.svelte
frontend/src/routes/(authed)/write/+page.svelte

index 51d149ae93e7bd3989e5ab212bb8c276bbf44d5b..dceaa02db383a5e2be25fc13ad86ed41d75093f0 100644 (file)
                border: 0px solid #ececec77;
                border-radius: 5px;
                width: 100%;
+               margin-top: 0.5rem;
        }
 
        .options-menu {
        .file-list {
                display: flex;
                flex-direction: column;
-               gap: 0.5rem;
        }
 </style>
index c54a9edc57949d8629a10ab6e3acce5d63589ba5..d1a8453ae3e74e6e355b55a941f924bec46b8006 100644 (file)
                                        <div class={logDateWritten ? '' : 'opacity-50'}>{$t('log.written_on')}</div>
                                        {logDateWritten}
                                </div>
-                               {#if historyAvailable}
-                                       <div class="textAreaHistory d-flex flex-column justify-content-center">
-                                               <button class="btn px-0 btn-hover" onclick={() => getHistory()}>
-                                                       <Fa icon={faClockRotateLeft} class="" size="1.5x" fw />
-                                               </button>
-                                       </div>
-                               {/if}
+                               <!-- {#if historyAvailable} -->
+                               <div
+                                       class="textAreaHistory d-flex flex-column justify-content-center {historyAvailable
+                                               ? ''
+                                               : 'invisible'}"
+                               >
+                                       <button class="btn px-0 btn-hover" onclick={() => getHistory()}>
+                                               <Fa icon={faClockRotateLeft} class="" size="1.5x" fw />
+                                       </button>
+                               </div>
+                               <!-- {/if} -->
                                <div class="textAreaDelete d-flex flex-column justify-content-center">
                                        <button class="btn px-0 btn-hover" onclick={() => showDeleteDayModal()}>
                                                <Fa icon={faTrash} class="" size="1.5x" fw />
                border-top-right-radius: 5px;
        }
 
-       .textAreaDate,
+       .textAreaDate {
+               border-right: 1px solid #6a6a6a;
+               padding: 0.25em;
+       }
+
        .textAreaWrittenAt,
        .textAreaHistory {
-               border-right: 1px solid #6a6a6a;
                padding: 0.25em;
        }
 
git clone https://git.99rst.org/PROJECT