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(popup-menu): improve set off from background #743

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

nikku
Copy link
Member

@nikku nikku commented Jan 24, 2023

width: min-content;
background: var(--popup-background-color);
overflow: hidden;
position: absolute;

box-shadow: 0px 2px 10px var(--popup-shadow-color);
box-shadow: 0px 2px 6px var(--popup-shadow-color);
border: solid 1px var(--popup-border-color);
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't a transparent border does the same thing as a padding?

Copy link
Member Author

@nikku nikku Jan 24, 2023

Choose a reason for hiding this comment

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

Maybe.

But honestly padding was not my intention here. I simply wanted to make it possible for people to create borders if they need them (for accessibility reasons), cf. bpmn-io/bpmn-js#1812 (comment).

@barmac barmac merged commit 31b662d into develop Jan 27, 2023
@barmac barmac deleted the improve-popup-menu-setoff branch January 27, 2023 08:39
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Jan 27, 2023
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.

3 participants