Commit 6b9773bf authored by Stefan Probst's avatar Stefan Probst
Browse files

style: adjust button size

parent c43ae956
...@@ -120,7 +120,7 @@ export default function ItemLayout({ ...@@ -120,7 +120,7 @@ export default function ItemLayout({
pathname: `/${item.category}/${item.persistentId}/edit`, pathname: `/${item.category}/${item.persistentId}/edit`,
}} }}
> >
<a className="w-32 px-6 py-3 text-lg text-center text-white transition rounded lg:text-xl lg:w-48 lg:px-10 lg:py-4 bg-primary-750 hover:bg-secondary-600"> <a className="w-32 px-6 py-3 text-lg text-center text-white transition rounded bg-primary-750 hover:bg-secondary-600">
Edit Edit
</a> </a>
</Link> </Link>
...@@ -130,18 +130,18 @@ export default function ItemLayout({ ...@@ -130,18 +130,18 @@ export default function ItemLayout({
pathname: `/${item.category}/${item.persistentId}/history`, pathname: `/${item.category}/${item.persistentId}/history`,
}} }}
> >
<a className="w-32 px-6 py-3 text-lg text-center text-white transition rounded lg:text-xl lg:w-48 lg:px-10 lg:py-4 bg-primary-750 hover:bg-secondary-600"> <a className="w-32 px-6 py-3 text-lg text-center text-white transition rounded bg-primary-750 hover:bg-secondary-600">
History History
</a> </a>
</Link> </Link>
<ProtectedView roles={['administrator']}>
<DeleteItemButton
id={item.persistentId}
category={item.category as ItemCategory}
/>
</ProtectedView>
</div> </div>
</ProtectedView> </ProtectedView>
<ProtectedView roles={['administrator']}>
<DeleteItemButton
id={item.persistentId}
category={item.category as ItemCategory}
/>
</ProtectedView>
</HStack> </HStack>
<ItemDescription description={item.description} /> <ItemDescription description={item.description} />
</VStack> </VStack>
...@@ -216,7 +216,7 @@ function DeleteItemButton({ ...@@ -216,7 +216,7 @@ function DeleteItemButton({
<button <button
onClick={deleteItem} onClick={deleteItem}
className={cx( className={cx(
'w-32 px-6 py-3 text-lg text-center text-white transition rounded lg:text-xl lg:w-48 lg:px-10 lg:py-4 bg-error-600 hover:bg-error-700', 'w-32 px-6 py-3 text-lg text-center text-white transition rounded bg-error-600 hover:bg-error-700',
status !== 'idle' && 'pointer-events-none', status !== 'idle' && 'pointer-events-none',
)} )}
> >
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment