fix: remove max width on sidebar new buttons
This commit is contained in:
@@ -1669,7 +1669,7 @@ export default function Layout(props: ParentProps) {
|
|||||||
<Button
|
<Button
|
||||||
size="large"
|
size="large"
|
||||||
icon="plus-small"
|
icon="plus-small"
|
||||||
class="w-full max-w-[256px]"
|
class="w-full"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
navigate(`/${base64Encode(p.worktree)}/session`)
|
navigate(`/${base64Encode(p.worktree)}/session`)
|
||||||
layout.mobileSidebar.hide()
|
layout.mobileSidebar.hide()
|
||||||
@@ -1686,7 +1686,7 @@ export default function Layout(props: ParentProps) {
|
|||||||
>
|
>
|
||||||
<>
|
<>
|
||||||
<div class="py-4 px-3">
|
<div class="py-4 px-3">
|
||||||
<Button size="large" icon="plus-small" class="w-full max-w-[256px]" onClick={createWorkspace}>
|
<Button size="large" icon="plus-small" class="w-full" onClick={createWorkspace}>
|
||||||
New workspace
|
New workspace
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user