Fixing centering of rendered SVG when container is too small
This commit is contained in:
parent
1362ceb8c8
commit
9eea045d2b
@ -1,8 +1,6 @@
|
||||
@import url('../../globals.css');
|
||||
|
||||
.render {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
background: var(--color-white);
|
||||
box-sizing: border-box;
|
||||
@ -12,6 +10,6 @@
|
||||
& svg {
|
||||
display: block;
|
||||
transform: scaleZ(1); /* Move to separate render layer in Chrome */
|
||||
flex-shrink: 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user