Merge pull request #3533 from baleks/issue/responsive_design_style_issues

Responsive design style issues were been fixed.
This commit is contained in:
Lucas Bartholemy 2019-06-17 17:51:19 +02:00 committed by GitHub
commit ca45da73b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 3 deletions

View File

@ -27,7 +27,7 @@ use humhub\modules\admin\models\SpaceSearch;
</span>
</div>
</div>
<div class="col-md-4" style="padding-left:0px">
<div class="col-md-4 spacesearch-visibilities">
<?= Html::activeDropDownList($searchModel, 'visibility', SpaceSearch::getVisibilityAttributes(), ['class' => 'form-control', 'onchange' => 'this.form.submit()']); ?>
</div>
</div>

View File

@ -42,7 +42,7 @@ use yii\widgets\ActiveForm;
</span>
</div>
</div>
<div class="col-md-4" style="padding-left:0px">
<div class="col-md-4 usersearch-statuses">
<?= Html::activeDropDownList($searchModel, 'status', UserSearch::getStatusAttributes(), ['class' => 'form-control', 'onchange' => 'this.form.submit()']); ?>
</div>
</div>

View File

@ -35,7 +35,7 @@ use yii\bootstrap\Html;
<tbody>
<?php foreach ($model->categories() as $category): ?>
<tr>
<td>
<td class="notification-type">
<strong><?= $category->getTitle() ?></strong><br />
<?= $category->getDescription() ?>
</td>

View File

@ -27,6 +27,16 @@
p {
color: @text-color-highlight;
}
.usersearch-statuses,
.spacesearch-visibilities {
padding-top: 5px;
padding-bottom: 5px;
@media (min-width: 992px) {
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
}
}
}
.statistics {
.entry {

View File

@ -44,4 +44,10 @@ table {
.table-middle > tbody > tr > td,
.table-middle > tfoot > tr > td {
vertical-align: middle !important;
}
.table-responsive > .table > tbody > tr > td.notification-type {
@media (max-width: 767px) {
white-space: normal;
}
}