Fix style for inline buttons

This commit is contained in:
Visman 2018-09-08 19:44:40 +07:00
parent 431047be87
commit 5f30afa2a1
6 changed files with 23 additions and 6 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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