Visman 2 роки тому
батько
коміт
66e360cf90
2 змінених файлів з 2 додано та 1 видалено
  1. 1 1
      app/config/defaultBBCode.php
  2. 1 0
      public/style/ForkBB/style.css

+ 1 - 1
app/config/defaultBBCode.php

@@ -355,7 +355,7 @@ HANDLER,
             'No_attr' => true,
         ],
         'handler' => <<<'HANDLER'
-$header = isset($attrs['Def']) ? '<div class="f-bb-q-header">' . __(['%s wrote', $attrs['Def']]) . '</div>' : '';
+$header = isset($attrs['Def']) ? '<cite class="f-bb-q-header">' . __(['%s wrote', $attrs['Def']]) . '</cite>' : '';
 return "</p><blockquote class=\"f-bb-quote\">{$header}<div class=\"f-bb-q-body\"><p>{$body}</p></div></blockquote><p>";
 HANDLER,
     ],

+ 1 - 0
public/style/ForkBB/style.css

@@ -1663,6 +1663,7 @@ body,
 }
 
 #fork .f-bb-q-header {
+  display: block;
   padding: 0.625rem;
   background-color: #F8F4E3 /*#D3B58D*/;
 }