Skip to content

dbeaver/pro#9588 remove top margin#4405

Merged
sergeyteleshev merged 5 commits into
develfrom
dbeaver/pro#9588-boolean-layout
Jun 22, 2026
Merged

dbeaver/pro#9588 remove top margin#4405
sergeyteleshev merged 5 commits into
develfrom
dbeaver/pro#9588-boolean-layout

Conversation

@devnaumov

Copy link
Copy Markdown
Member

closes 9588

@codacy-production

codacy-production Bot commented Jun 17, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

onClick={onClick}
>
{value === null ? <NullFormatter /> : <CheckboxIndicator size="small" checked={value} />}
{value === null ? <NullFormatter /> : <CheckboxIndicator className="tw:mt-0!" size="small" checked={value} />}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checkbox automatically adjusts to the center in every part of the app fine, but something went wrong here:
margin-top: calc(var(--dbv-kit-checkbox-height) * (calc(1 - var(--dbv-kit-checkbox-check-size)) / 2))

maybe delete tw:items-center for the container and fix NullFormatter styles if something is broken for it?

@devnaumov devnaumov Jun 18, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should not be margin top on checkbox level and on components in general, margins should be applied in the place of use by parent components of via classname. Otherwise it will break layout

sergeyteleshev
sergeyteleshev previously approved these changes Jun 18, 2026
@sergeyteleshev sergeyteleshev merged commit 70292cb into devel Jun 22, 2026
5 checks passed
@sergeyteleshev sergeyteleshev deleted the dbeaver/pro#9588-boolean-layout branch June 22, 2026 12:38
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.

4 participants