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