Просмотр исходного кода

Ticket #2430 - Reacted By popup update.

AntonLV 7 лет назад
Родитель
Сommit
cad4fc4fb9
3 измененных файлов с 14 добавлено и 4 удалено
  1. 5 0
      inc/classes/BxDolTemplate.php
  2. 8 4
      template/css/vote.css
  3. 1 0
      template/vote_by_summary_reactions.html

+ 5 - 0
inc/classes/BxDolTemplate.php

@@ -448,6 +448,11 @@ class BxDolTemplate extends BxDolFactory implements iBxDolSingleton
         return $aResult;
     }
 
+    public function getClassName()
+    {
+        return get_class($this);
+    }
+
     public static function getColorCode($mixedName = false, $fOpacity = false)
     {
         $aClasses = array_keys(self::$_aColors);

+ 8 - 4
template/css/vote.css

@@ -195,15 +195,19 @@ div.bx-vote-by-list div.bx-base-pofile-unit {
     line-height: 3.125rem;
 }
 .bx-vote-bls-title,
-.bx-vote-bls-submenu-cnt {
-	height: 3.125rem;
+.bx-vote-bls-submenu-cnt,
+.bx-vote-bls-filler {
+    height: 3.125rem;
 }
-
-.bx-vote-bls-title {
+.bx-vote-bls-title,
+.bx-vote-bls-filler {
     -webkit-flex-grow: 3;
     flex-grow: 3;
 
     border-bottom: 2px solid rgba(0,0,0,0.1);
+}
+.bx-vote-bls-title {
+    display: none;
 
     white-space: nowrap;
     font-size: 1rem;

+ 1 - 0
template/vote_by_summary_reactions.html

@@ -4,6 +4,7 @@
         <div class="__style_prefix__-bls-submenu">
             <div class="__style_prefix__-bls-submenu-cnt">__menu__</div>
         </div>
+        <div class="__style_prefix__-bls-filler bx-def-border-bottom bx-def-box-sizing"></div>
     </div>
     <div class="__style_prefix__-bls-content">
         <bx_repeat:lists>__content__</bx_repeat:lists>