Skip to content

Count with border when determine dimensions#319

Open
davidzoli wants to merge 1 commit into
andreknieriem:masterfrom
davidzoli:fix/border_width
Open

Count with border when determine dimensions#319
davidzoli wants to merge 1 commit into
andreknieriem:masterfrom
davidzoli:fix/border_width

Conversation

@davidzoli
Copy link
Copy Markdown

If you add border to .sl-image element to separate the image from the overlay, the element's computed width and height values won't consider the borders as they should be added to the dimensions. This way border will be cut off on the right and bottom.
This fix resolves this issue.

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.

1 participant