Skip to content

Commit

Permalink
Fix styles of calendar filters
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin committed Jul 1, 2024
1 parent 8a6013a commit 3bcb4e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions widgets/views/calendarFilterBar.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<?php endif; ?>
<?php if ($showSelectors) : ?>
<div class="calendar-selectors">
<div class="help-block" style="padding-left:10px;">
<div class="help-block">
<?= Yii::t('CalendarModule.views_global_index', 'Select calendars') ?>
</div>
<div style="display:inline-block; float:left;margin-right:10px;">
Expand Down Expand Up @@ -82,7 +82,7 @@
<div class="help-block" style="padding-left:10px;">
<?= Yii::t('CalendarModule.views_global_index', 'Filter events') ?>
</div>
<div style="display:inline-block;margin-right:10px;">
<div style="display:inline-block;margin:0 10px">
<div class="checkbox">
<label class="calendar_filter_participate">
<input type="checkbox" name="filter" class="filterCheckbox"
Expand All @@ -104,7 +104,7 @@
<?php endif ?>
<?php if ($showTypes) : ?>
<div class="calendar-types"
style="<?= $showSelectors || $showFilters ? 'border-left:2px solid ' . $this->theme->variable('default') : '' ?>">
style="width:300px;max-width:100%;<?= $showSelectors || $showFilters ? 'border-left:2px solid ' . $this->theme->variable('default') : '' ?>">
<div class="help-block" style="padding-left:10px;">
<?= Yii::t('CalendarModule.base', 'Filter by types') ?>
</div>
Expand Down

0 comments on commit 3bcb4e8

Please sign in to comment.