1
0
Fork 0
mirror of synced 2024-07-05 06:20:55 +12:00

Remove padding on top nav bar so that things are properly centered

This commit is contained in:
Andrew Kingston 2020-10-07 12:00:15 +01:00
parent b9c9408c7c
commit a24ce26953
3 changed files with 7 additions and 8 deletions

View file

@ -25,8 +25,10 @@
export let showConfirmButton = true
export let onConfirm = () => {}
export let visible = false
export let loading = false
let loading = false
let confirmLoading = false
$: disabled = loading || confirmLoading || $$restProps.disabled
function show() {
if (visible) {
@ -89,7 +91,7 @@
<Button
primary
{...$$restProps}
disabled={$$restProps.disabled || loading}
{disabled}
on:click={confirm}>
{confirmText}
</Button>

View file

@ -20,8 +20,7 @@
.topnavitemright {
cursor: pointer;
color: var(--grey-7);
margin: 0px 20px 0px 0px;
padding-top: 4px;
margin: 0 20px 0 0;
font-weight: 500;
font-size: 1rem;
height: 100%;

View file

@ -127,8 +127,7 @@
.topnavitem {
cursor: pointer;
color: var(--grey-5);
margin: 0px 00px 0px 20px;
padding-top: 4px;
margin: 0 0 0 20px;
font-weight: 500;
font-size: var(--font-size-m);
height: 100%;
@ -149,8 +148,7 @@
.topnavitemright {
cursor: pointer;
color: var(--grey-7);
margin: 0px 20px 0px 0px;
padding-top: 4px;
margin: 0 20px 0 0;
font-weight: 500;
font-size: 1rem;
height: 100%;