swarm-ui: one subdirectory per ui/ component
Per mara's PR review request: Panel/StatusChip/Table each move into their own subdir (ui/panel/, ui/status-chip/, ui/table/) colocating the component with its stylesheet, matching shell/ (Shell.tsx + Shell.css already lived this way). Import paths in App.tsx and swarm-ui.css updated to match; no behavior change. npm run build + typecheck both clean.
This commit is contained in:
parent
67eb0c660d
commit
55f9e6c15f
8 changed files with 4 additions and 4 deletions
18
frontend/packages/swarm-ui/src/ui/table/Table.css
Normal file
18
frontend/packages/swarm-ui/src/ui/table/Table.css
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
.ui-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.ui-table th {
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
color: var(--muted);
|
||||
padding: 0.5em 0.75em;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.ui-table td {
|
||||
padding: 0.5em 0.75em;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.ui-table tr:last-child td {
|
||||
border-bottom: none;
|
||||
}
|
||||
Loading…
Reference in a new issue