Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: focus offset added for checkbox and buttons #390

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abdul99ahad
Copy link

@abdul99ahad abdul99ahad commented Nov 26, 2024

Related to: camunda-modeler #4632

Proposed Changes

Fixed the focus outline offset

Checkbox:
image

Button:
image

Checklist

To ensure you provided everything we need to look at your PR:

  • Brief textual description of the changes present
  • Visual demo attached
  • Steps to try out present, i.e. using the @bpmn-io/sr tool
  • Related issue linked via Closes {LINK_TO_ISSUE} or Related to {LINK_TO_ISSUE}

Related to: camunda-modeler #4632
@@ -299,6 +301,10 @@
background: none;
}

.bio-properties-panel-group-header-button:focus {
outline-offset: 2px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Outline still black for me:

brave_gxcOzPHfJA

Suggestion:

Suggested change
outline-offset: 2px;
outline-offset: 2px;
outline-color: var(--focus-outline-color);

Copy link
Author

Choose a reason for hiding this comment

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

That's strange, it's already showing blue for me. Are you linking the library to bpmn-js-properties-panel to verify the changes?

Even before my updates, the outline was already blue; I only added the offset. Could you double-check? I want to avoid adding redundant properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Review pending
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants