Commit fe7b56f8991c452c38a355e62a00daba909eb41a

Authored by Eugeny Galkovskiy
1 parent acfe9031

111

frontend/views/event/_objects.php
... ... @@ -19,7 +19,7 @@ FlipclockAsset::register($this);
19 19  
20 20  
21 21 <?php if(!empty($model->end_at) && strtotime($model->end_at) > strtotime(date("Y-m-d"))){?>
22   - <div class="clock_style clock_<?= $model->primaryKey ?>"></div>
  22 + <div class="clock_style_abs clock_<?= $model->primaryKey ?>"></div>
23 23  
24 24 <?php $js = "var clock;
25 25 clock = new FlipClock(jQuery('.clock_". $model->primaryKey ."'),{
... ...
frontend/views/event/show.php
... ... @@ -30,7 +30,7 @@ $this-&gt;params[&#39;seo&#39;][&#39;h1&#39;] = $this-&gt;title;
30 30  
31 31 if(!empty($model->end_at) && strtotime($model->end_at) > strtotime(date("Y-m-d"))){
32 32 ?>
33   - <div class="clock_style clock"></div>
  33 + <div class="clock_style_abs clock"></div>
34 34 <?php $js = "
35 35 var clock;
36 36  
... ...
frontend/web/css/css_header.css
... ... @@ -13289,7 +13289,11 @@ h1.title {
13289 13289 height: 100%;
13290 13290 top: 0;
13291 13291 }
13292   -
  13292 +.clock_style_abs {
  13293 + position: absolute;
  13294 + top: 50px;
  13295 + left: 10px;
  13296 +}
13293 13297 .arrows_slide_centered{
13294 13298 position:relative;
13295 13299 max-width:1497px;
... ...