refactor(backend): rename mediacore package to media

This commit is contained in:
Gabriel20xx committed 2026-11-01 21:50:47 +01:00
1 parent e8cb7c6c68
commit 75c08beec6
34 files changed
+837 -656

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ Shared Node.js backend infrastructure for services that use PostgreSQL:
The package does not depend on Express. Each service keeps its own routes,
cookies, roles, validation policy, and domain repositories. Existing
`MediaShared` code can be migrated into this package incrementally; keep the
media-related code can be migrated into this package incrementally; keep the
legacy package as a compatibility layer until every consumer has moved.
Pass a service-specific `tableName` to `runMigrations` when multiple services
+17 -11
View File
@@ -745,26 +745,33 @@ html[data-wide-layout='true'] .sc-main {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-top: 1rem;
gap: 0.75rem 1rem;
}
.sc-pagination-page-size {
/* Nested under .sc-pagination so it outranks `.sc-root select { font: inherit }` and keeps the 0.8rem size. */
.sc-pagination .sc-pagination-page-size {
flex: 0 0 auto;
width: auto;
height: 2.5rem;
padding: 0.375rem 0.6rem;
padding: 0 2rem 0 0.75rem;
color: var(--sc-fg);
background: var(--sc-bg);
border: 1px solid var(--sc-border);
border-radius: var(--sc-radius-sm);
font-size: 0.8rem;
cursor: pointer;
}
.sc-pagination .sc-pagination-page-size:focus-visible {
outline: 3px solid color-mix(in srgb, var(--sc-ring) 45%, transparent);
outline-offset: 2px;
}
.sc-pagination-info {
margin: 0;
color: var(--sc-muted-fg);
font-size: 0.8rem;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
@@ -807,12 +814,11 @@ html[data-wide-layout='true'] .sc-main {
}
@media (max-width: 620px) {
.sc-pagination {
justify-content: center;
}
.sc-pagination-controls {
margin-left: 0;
/* On phones the count gets its own centred line, with the page size and buttons on the row below. */
.sc-pagination-info {
order: -1;
flex-basis: 100%;
text-align: center;
}
}