fix(frontend): narrow legacy cell alignment to Ref's markup
Ref never aligns `.tb_layout` cells from the table; each legacy cell opts in with align=center. The directory title table, npc list and chief reservation rows follow that, the nation info cells use Ref's gray rule, and the main document stops clipping horizontally. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -117,6 +117,8 @@ const handleClick = () => {
|
||||
min-height: 28px;
|
||||
gap: 2px;
|
||||
padding: 1px 4px;
|
||||
/* Ref centres the office header row. */
|
||||
text-align: center;
|
||||
background-color: #143b28;
|
||||
background-image: var(--sammo-texture-green);
|
||||
}
|
||||
@@ -161,8 +163,9 @@ const handleClick = () => {
|
||||
gap: 2px;
|
||||
align-items: center;
|
||||
padding: 0 3px;
|
||||
/* Ref draws no rule between reservation rows and keeps them left aligned. */
|
||||
border: 0;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
||||
text-align: left;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user