App-792: standardize canvas widget card padding, title typography, and borders#9014
Open
App-792: standardize canvas widget card padding, title typography, and borders#9014
Conversation
…ally - CanvasComponent: card owns all padding (p-4), border radius rounded-[6px], border+shadow replaces outline - ComponentHeader: title 16px semibold leading-none, no self-padding (card provides it) - CanvasChart/LeaderboardDisplay/CanvasPivotDisplay: uniform size-full flex-col gap-y-4 layout - CanvasPivotRenderer: remove self-padding (card provides it) - VegaLiteRenderer: remove extra px-2 on canvas dashboards - vega-config: set padding:0 for canvas dashboards to eliminate Vega's default internal padding Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
Tagging @djbarnwal for the code review, since he's the main maintainer for these components |
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.
p-4) viaCanvasComponent, eliminating inconsistent per-widget paddingleading-noneacross all widgets viaComponentHeaderrounded-[6px],outlinereplaced withborder+shadowfor cleaner card appearanceCanvasChart,LeaderboardDisplay,CanvasPivotDisplay) now follow a uniformsize-full flex flex-col gap-y-4pattern for consistent 16px gap between title and contentCanvasPivotRendererandVegaLiteRendererpadding: 0in Vega config for canvas dashboards to eliminate Vega-Lite's default internal 5px padding, aligning Y-axis labels with card titlesChecklist:
Developed in collaboration with Claude Code