Minor UI changes

This commit is contained in:
tdgmdev 2023-03-09 06:59:20 -05:00
parent 404bd50cd3
commit 867626024f
3 changed files with 6 additions and 5 deletions

View file

@ -7,7 +7,7 @@
#logo { #logo {
width: calc(100vw - 20px); width: calc(100vw + 50px);
background: var(--dark-1); background: var(--dark-1);

View file

@ -29,7 +29,8 @@
<p> <p>
{#if data.id > 0} {#if data.id > 0}
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)-1)) }}>Previous page</Button> <a on:click={() => { window.location.search = setLocation(window.location,'page',((data.id)-1)) }} href='#'>← Page {(data.id)-1}</a>
{/if} {/if}
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)+1)) }}>Next page</Button> <b>Page {(data.id)}</b>
<a on:click={() => { window.location.search = setLocation(window.location,'page',((data.id)+1)) }} href='#'>Page {(data.id)+1}</a>
</p> </p>

View file

@ -3,7 +3,7 @@
background: var(--light-2); background: var(--light-2);
height: 100vh; height: 100vh;
width: calc(100vw - 50px); width: 100vw;
padding: 25px; padding: 25px;
padding-top: 0px; padding-top: 0px;
@ -11,7 +11,7 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
overflow-y: scroll; overflow-y: auto;
} }
:global(:root) { :global(:root) {