Make username visible on light themes

This commit is contained in:
2024-07-23 16:45:04 +02:00
parent 683dc60a91
commit 80aa92e2df
2 changed files with 3 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ let dialog
export let no_login_label = "Pixeldrain"
export let hide_name = true
export let hide_logo = false
export let style = ""
const open = () => {
// Show the window so we can get the location
@@ -43,7 +44,7 @@ const click = e => {
</script>
<div class="wrapper">
<button bind:this={button} on:click={open} href="/user" class="button round" title="Menu">
<button bind:this={button} on:click={open} href="/user" class="button round" title="Menu" style={style}>
{#if !hide_logo}
<PixeldrainLogo style="height: 1.8em; width: 1.8em; margin: 2px;"/>
{/if}