chore: various fixes

This commit is contained in:
Aarnav Tale 2024-04-01 19:41:39 -04:00
parent d787b8517e
commit 6dae5d647a
No known key found for this signature in database
3 changed files with 14 additions and 12 deletions

View file

@ -123,16 +123,17 @@ export default function Page() {
)}
>
<Dropdown
className='left-1/4 cursor-pointer'
className='left-1/4'
width='w-48'
button={(
<EllipsisHorizontalIcon className='w-5 h-5'/>
)}
>
<Dropdown.Item>
<Dropdown.Item variant='static'>
<button
disabled
type='button'
className='text-left'
className='text-left w-full opacity-50'
onClick={() => {
open()
}}
@ -140,10 +141,11 @@ export default function Page() {
Edit machine name
</button>
</Dropdown.Item>
<Dropdown.Item>
<Dropdown.Item variant='static'>
<button
disabled
type='button'
className='text-left'
className='text-left w-full opacity-50'
onClick={() => {
open()
}}
@ -151,10 +153,11 @@ export default function Page() {
Edit route settings
</button>
</Dropdown.Item>
<Dropdown.Item>
<Dropdown.Item variant='static'>
<button
disabled
type='button'
className='text-left'
className='text-left w-full opacity-50'
onClick={() => {
open()
}}
@ -165,7 +168,7 @@ export default function Page() {
<Dropdown.Item>
<button
type='button'
className='text-left text-red-700'
className='text-left text-red-700 w-full'
onClick={() => {
open({
title: 'Remove Machine',

View file

@ -71,7 +71,7 @@ export default function Layout() {
</Dropdown.Item>
<Dropdown.Item className='text-red-700 cursor-pointer'>
<Form method='POST' action='/logout'>
<button type='submit'>
<button type='submit' className='w-full'>
Logout
</button>
</Form>