Repository navigation
feat(timeline): Markdown tables are one flat card with a lifted header row - #2567
Open
kitlangton wants to merge 1 commit into
Open
kitlangton wants to merge 1 commit into
kitlangton wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Markdown tables in the timeline are now one flat card: a single hairline ring, a faintly lifted header row, and the same hairline between every row.
Before, a table sat in two cards, a lighter tray with a darker raised card inset inside it, so every table had a double edge and a header floating outside the rows. Wide tables still scroll sideways the same way.
❌ Before
✅ After
📊 Proof: dark and light, before on the left, after on the right. A compact table with wrapped inline code, and an 11-column table that scrolls sideways.
High-readability mode keeps its own table font (20.5 pt lines) and was checked in both themes.
👀 Read: the table block in
crates/opencode-ui/src/style.rs. It drops the kit'stable_cardpreset and sets the frame, rules, header fill and cell type directly, because the preset always adds the inner body card. The corner radius stays at the kit's fixed 6 pt (the mockup used 8 pt): 6 pt looks crisp, and the header band and scroll fade clip cleanly to it. The rest is routine.Design picked from a set of table mockups · no user reports · screenshots from a fixture session at 2× scale
Checks run
cargo check --bin opencode-desktop: okcargo check -p session-view --examples: okcargo check -p opencode-web --target wasm32-unknown-unknown: okbash scripts/guardrails.sh: 12/12 passed