Skip to content

2134 fix checkmark alignment in icon-only table cells#696

Draft
correct-horse-battery-bench wants to merge 1 commit into
masterfrom
2134-enhancement-new-theme-hashtype-weirdly-alligned
Draft

2134 fix checkmark alignment in icon-only table cells#696
correct-horse-battery-bench wants to merge 1 commit into
masterfrom
2134-enhancement-new-theme-hashtype-weirdly-alligned

Conversation

@correct-horse-battery-bench
Copy link
Copy Markdown
Contributor

@correct-horse-battery-bench correct-horse-battery-bench commented Jun 1, 2026

DRAFT
Fix icon in cell being misaligned

Issue: hashtopolis/server#2134

Icon-only columns (e.g. the boolean check_circle cells in the hashtype
table) render the empty ht-table-* wrappers before the icon. The
ht-table-editable host keeps flex: 1 1 auto, so even when empty it
expands and pushes the trailing icon to the cell's right edge, away from
the left-aligned column header.

Collapse that wrapper (flex: 0 0 auto) and drop the optical margin nudge
for these cells so the icon sits flush-left and vertically centered,
matching the header. Scoped via :not(.text):not(.links) so icon+text and
icon+link cells keep their existing layout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT]: new theme hashtype, weirdly alligned

1 participant