<div class="inline-flex items-center gap-2">
    <span class="text-xs text-slate-500">密度</span>
    <div class="join">
        <button type="button" class="join-item btn btn-xs btn-outline" onclick="setTableDensity('comfortable')">舒适</button>
        <button type="button" class="join-item btn btn-xs btn-outline" onclick="setTableDensity('compact')">紧凑</button>
    </div>
</div>
