Sfoglia il codice sorgente

Fix style for inline buttons

Visman 6 anni fa
parent
commit
5f30afa2a1

+ 1 - 1
app/Models/Pages/Admin/Categories.php

@@ -212,7 +212,7 @@ class Categories extends Admin
         $this->aCrumbs[] = [$this->c->Router->link('AdminCategoriesDelete', ['id' => $args['id']]), \ForkBB\__('Delete category head')];
         $this->aCrumbs[] = [$this->c->Router->link('AdminCategoriesDelete', ['id' => $args['id']]), \ForkBB\__('Delete category head')];
         $this->aCrumbs[] = \ForkBB\__('"%s"', $category['cat_name']);
         $this->aCrumbs[] = \ForkBB\__('"%s"', $category['cat_name']);
         $this->form      = $form;
         $this->form      = $form;
-        $this->classForm = ['deletecategory', 'btnsrow'];
+        $this->classForm = 'deletecategory';
         $this->titleForm = \ForkBB\__('Delete category head');
         $this->titleForm = \ForkBB\__('Delete category head');
 
 
         return $this;
         return $this;

+ 1 - 1
app/Models/Pages/Admin/Forums.php

@@ -291,7 +291,7 @@ class Forums extends Admin
         $this->aCrumbs[] = [$this->c->Router->link('AdminForumsDelete', ['id' => $forum->id]), \ForkBB\__('Delete forum head')];
         $this->aCrumbs[] = [$this->c->Router->link('AdminForumsDelete', ['id' => $forum->id]), \ForkBB\__('Delete forum head')];
         $this->aCrumbs[] = \ForkBB\__('"%s"', $forum->forum_name);
         $this->aCrumbs[] = \ForkBB\__('"%s"', $forum->forum_name);
         $this->form      = $form;
         $this->form      = $form;
-        $this->classForm = ['deleteforum', 'btnsrow'];
+        $this->classForm = 'deleteforum';
         $this->titleForm = \ForkBB\__('Delete forum head');
         $this->titleForm = \ForkBB\__('Delete forum head');
 
 
         return $this;
         return $this;

+ 1 - 1
app/Models/Pages/Admin/Groups.php

@@ -727,7 +727,7 @@ class Groups extends Admin
         $this->aCrumbs[] = \ForkBB\__('"%s"', $group->g_title);
         $this->aCrumbs[] = \ForkBB\__('"%s"', $group->g_title);
         $this->form      = $form;
         $this->form      = $form;
         $this->titleForm = \ForkBB\__('Group delete');
         $this->titleForm = \ForkBB\__('Group delete');
-        $this->classForm = ['deletegroup', 'btnsrow'];
+        $this->classForm = 'deletegroup';
 
 
         return $this;
         return $this;
     }
     }

+ 1 - 1
app/templates/post.forkbb.php

@@ -26,7 +26,7 @@
     </section>
     </section>
 @endif
 @endif
 @if ($form = $p->form)
 @if ($form = $p->form)
-    <section class="f-post-form f-btnsrow-form">
+    <section class="f-post-form">
       <h2>{!! $p->formTitle !!}</h2>
       <h2>{!! $p->formTitle !!}</h2>
       <div class="f-fdiv">
       <div class="f-fdiv">
   @include ('layouts/form')
   @include ('layouts/form')

+ 1 - 1
app/templates/topic.forkbb.php

@@ -147,7 +147,7 @@
   @include ('layouts/stats')
   @include ('layouts/stats')
 @endif
 @endif
 @if ($form = $p->form)
 @if ($form = $p->form)
-    <section class="f-post-form f-btnsrow-form">
+    <section class="f-post-form">
       <h2>{!! __('Quick post') !!}</h2>
       <h2>{!! __('Quick post') !!}</h2>
       <div class="f-fdiv">
       <div class="f-fdiv">
   @include ('layouts/form')
   @include ('layouts/form')

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

@@ -1650,7 +1650,7 @@ select {
   border: 0;
   border: 0;
 }
 }
 
 
-.f-btnsrow-form .f-btns .f-btn {
+.f-post-form .f-btn {
   width: auto;
   width: auto;
   display: inline-block;
   display: inline-block;
 }
 }
@@ -1674,6 +1674,11 @@ select {
 /*********************/
 /*********************/
 /* Админка/Категории */
 /* Админка/Категории */
 /*********************/
 /*********************/
+.f-deletecategory-form .f-btn {
+  width: auto;
+  display: inline-block;
+}
+
 .f-fs-category {
 .f-fs-category {
   display: flex;
   display: flex;
   align-items: stretch;
   align-items: stretch;
@@ -1726,6 +1731,11 @@ select {
 /*********************/
 /*********************/
 /* Админка/Разделы   */
 /* Админка/Разделы   */
 /*********************/
 /*********************/
+.f-deleteforum-form .f-btn {
+  width: auto;
+  display: inline-block;
+}
+
 .f-fs-forum {
 .f-fs-forum {
   display: flex;
   display: flex;
   align-items: stretch;
   align-items: stretch;
@@ -1873,6 +1883,13 @@ select {
   cursor: default;
   cursor: default;
   opacity: 0.5;
   opacity: 0.5;
 }
 }
+/******************/
+/* Админка/Группы */
+/******************/
+.f-deletegroup-form .f-btn {
+  width: auto;
+  display: inline-block;
+}
 
 
 /*********************/
 /*********************/
 /* Админка/Цензура   */
 /* Админка/Цензура   */