DmitrMakeev commited on
Commit
ff6952a
·
verified ·
1 Parent(s): 86b5f40

Update pages.html

Browse files
Files changed (1) hide show
  1. pages.html +3 -5
pages.html CHANGED
@@ -434,7 +434,7 @@ editor.Blocks.add('dropdown-settings-block', {
434
  <script>
435
  editor.BlockManager.add('custom-player', {
436
  label: 'Custom Player',
437
- content: `<div id="player" style="width: 480px; height: 270px; border: 3px solid black; margin: auto; position: absolute; bottom: 0; left: 0; right: 0;"></div>`,
438
  attributes: {
439
  class: 'fa fa-play'
440
  }
@@ -445,10 +445,8 @@ editor.CssComposer.addRules(`
445
  height: 270px;
446
  border: 3px solid black;
447
  margin: 0 auto;
448
- position: absolute;
449
- bottom: 0;
450
- left: 0;
451
- right: 0;
452
  display: block;
453
  }
454
  `);
 
434
  <script>
435
  editor.BlockManager.add('custom-player', {
436
  label: 'Custom Player',
437
+ content: `<div id="player" style="width: 480px; height: 270px; border: 3px solid black; margin: auto; position: relative; top: 0;"></div>`,
438
  attributes: {
439
  class: 'fa fa-play'
440
  }
 
445
  height: 270px;
446
  border: 3px solid black;
447
  margin: 0 auto;
448
+ position: relative;
449
+ top: 0;
 
 
450
  display: block;
451
  }
452
  `);