Split action icons into their own columns, tighten spacing, no crosshair
Link and edit icons get one dedicated column each instead of sharing one text-align: center cell -- with a shared cell, a row with only the edit icon (non-linkable types) centered differently than a row with both icons, so pencils never lined up vertically across rows. Separate columns line up by construction. Verified: identical left offset (141px) for the edit icon across 15 consecutive rows. Also: tighter cell padding (was using the table's default 0.6rem horizontal padding, way more than an icon needs) and no column-hover crosshair on these technical columns -- nothing meaningful to compare across rows there. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -198,9 +198,16 @@ html.gin--dark-mode #figli-home-app {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
/* One column per icon (link, edit) rather than one shared cell -- with a
|
||||
shared cell, text-align: center puts a lone button (rows with no link
|
||||
icon) in a different spot than a row with both, so the edit pencil
|
||||
never lined up from row to row. Separate columns line up by
|
||||
construction, and get a tight, icon-sized width instead of the
|
||||
table's default 0.6rem horizontal cell padding. */
|
||||
#figli-home-app td.actions-col,
|
||||
#figli-home-app th.actions-col {
|
||||
width: 1%;
|
||||
padding: 0.2rem 0.1rem;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -214,8 +221,8 @@ html.gin--dark-mode #figli-home-app {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 1.6rem;
|
||||
height: 1.6rem;
|
||||
width: 1.4rem;
|
||||
height: 1.4rem;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
border: 1px solid transparent;
|
||||
@@ -225,10 +232,6 @@ html.gin--dark-mode #figli-home-app {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#figli-home-app .figli-link-btn {
|
||||
margin-right: 0.15rem;
|
||||
}
|
||||
|
||||
#figli-home-app .figli-edit-btn:hover,
|
||||
#figli-home-app .figli-link-btn:hover {
|
||||
background: var(--figli-bg-alt);
|
||||
|
||||
Reference in New Issue
Block a user