Better alignment on mobile

This commit is contained in:
Niek van der Maas 2023-03-06 18:21:08 +01:00
parent eddfd99636
commit d03f750b01
1 changed files with 3 additions and 3 deletions

View File

@ -142,14 +142,14 @@
};
</script>
<nav class="level is-mobile chat-header">
<nav class="level chat-header">
<div class="level-left">
<div class="level-item">
<p class="subtitle is-5">
{chat.name || `Chat ${chat.id}`}
<a
href={"#"}
class="greyscale ml-2 is-hidden editbutton"
class="greyscale ml-2 is-hidden has-text-weight-bold editbutton"
title="Rename chat"
on:click|preventDefault={() => {
let newChatName = prompt("Enter a new name for this chat", chat.name);
@ -163,7 +163,7 @@
</a>
<a
href={"#"}
class="greyscale ml-2 is-hidden editbutton"
class="greyscale ml-2 is-hidden has-text-weight-bold editbutton"
title="Suggest a chat name"
on:click|preventDefault={suggestName}
>