fix: wrap Samba page header buttons in same flex container so they stay together
This commit is contained in:
@@ -133,6 +133,7 @@ export default function Samba() {
|
|||||||
<div className="space-y-6">
|
<div className="space-y-6">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<h1 className="text-2xl font-bold text-white">Shares SMB / Samba</h1>
|
<h1 className="text-2xl font-bold text-white">Shares SMB / Samba</h1>
|
||||||
|
<div className="flex gap-2">
|
||||||
<button className="btn-ghost" onClick={async () => {
|
<button className="btn-ghost" onClick={async () => {
|
||||||
if (!confirm("Esto reemplazará todos los shares configurados con el contenido actual de smb.conf. ¿Continuar?")) return;
|
if (!confirm("Esto reemplazará todos los shares configurados con el contenido actual de smb.conf. ¿Continuar?")) return;
|
||||||
try {
|
try {
|
||||||
@@ -150,6 +151,7 @@ export default function Samba() {
|
|||||||
Nuevo share
|
Nuevo share
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="card overflow-x-auto p-0">
|
<div className="card overflow-x-auto p-0">
|
||||||
<table className="w-full text-left text-sm">
|
<table className="w-full text-left text-sm">
|
||||||
|
|||||||
Reference in New Issue
Block a user