Remove padding on top nav bar so that things are properly centered
This commit is contained in:
parent
4220da27ef
commit
6170921d45
|
@ -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>
|
||||
|
|
|
@ -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%;
|
||||
|
|
|
@ -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%;
|
||||
|
|
Loading…
Reference in New Issue