Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

725 B
Raw Blame
"use client";

import type { ReactNode } from "react";
import { cn } from "@/lib/utils";

// A padded block for freeform (non-Row) content inside a grouped settings card —
// hero headers, add-forms, save buttons — so they aren't flush to the card edge.
// Draws the same inset hairline as SettingsRow, dropped on the last child.
export function SettingsBlock({ children, className }: { children: ReactNode; className?: string }) {
  return (
    <div
      data-slot="settings-row"
      className={cn(
        "relative px-4 py-3",
        "after:absolute after:inset-x-0 after:bottom-0 after:left-4 after:h-px after:bg-border/60 last:after:hidden",
        className,
      )}
    >
      {children}
    </div>
  );
}