Fix: Play button center position

pull/16/head
Juraj Nyíri 4 years ago
parent 4bc7feab5d
commit 6285aec0d9

@ -19548,9 +19548,10 @@ style.textContent = css `
cursor: pointer; cursor: pointer;
transition: 0.2s; transition: 0.2s;
margin: 0 auto; margin: 0 auto;
left: calc(50% - 20px);
display: block; display: block;
position: relative;
top: calc(50% - 20px); top: calc(50% - 20px);
position: absolute;
} }
button[name='playButton']:hover { button[name='playButton']:hover {
background: orange !important; background: orange !important;

@ -288,9 +288,10 @@ style.textContent = css`
cursor: pointer; cursor: pointer;
transition: 0.2s; transition: 0.2s;
margin: 0 auto; margin: 0 auto;
left: calc(50% - 20px);
display: block; display: block;
position: relative;
top: calc(50% - 20px); top: calc(50% - 20px);
position: absolute;
} }
button[name='playButton']:hover { button[name='playButton']:hover {
background: orange !important; background: orange !important;

Loading…
Cancel
Save