Skip to content

Commit 46ce2aa

Browse files
authored
Inherit box-sizing (close #350) (#499)
1 parent e2fd0fe commit 46ce2aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/web-map.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export class WebMap extends HTMLMapElement {
129129
`width: 300px;` +
130130
`border-width: 2px;` + // Set a default border for contrast, similar to UA default for iframes.
131131
`border-style: inset;` +
132+
`box-sizing: inherit;` + // https://github.com/Maps4HTML/Web-Map-Custom-Element/issues/350#issuecomment-888361985
132133
`}` +
133134
`[is="web-map"][frameborder="0"] {` +
134135
`border-width: 0;` +

0 commit comments

Comments
 (0)