Skip to content

Commit

Permalink
Fixed styles for notifications forms.
Browse files Browse the repository at this point in the history
  • Loading branch information
jschultze committed Nov 20, 2024
1 parent b1c57b2 commit ef1fe79
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Form/BroadcastsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function init(): void
],
'attributes' => [
'class' => 'form-control',
'rows' => '6s',
'rows' => '6',
],
]);
}
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap5/css/compiled.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions themes/bootstrap5/scss/mixins/mixins.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Import non-vendor mixins here

@import 'dropdowns';
@import 'notifications';
9 changes: 9 additions & 0 deletions themes/bootstrap5/scss/mixins/notifications.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ textarea.form-control {
width: 50px;
height: 24px;
margin-right: 10px;

.form-control:not([multiple]):not([size]) {
height: auto;
margin-top: 5px;
}
}

.broadcast_wrapper {
Expand Down Expand Up @@ -117,4 +122,8 @@ ul.notifications-tabs {
padding: 5px;
border-radius: 0 5px 5px 5px;
margin-bottom: 15px;

.form-control:not([multiple]):not([size]) {
height: auto;
}
}
2 changes: 1 addition & 1 deletion themes/bootstrap5/templates/notifications/broadcasts.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<table id="notifications-list" class="table table-striped">
<thead>
<tr>
<th style="width:100px;"><?=$this->transEsc('Edit')?></th>
<th style="width:100px !important;"><?=$this->transEsc('Edit')?></th>
<th><?=$this->transEsc('Broadcast')?></th>
</tr>
</thead>
Expand Down
2 changes: 1 addition & 1 deletion themes/local_theme_example/css/compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/sandal5/css/compiled.css

Large diffs are not rendered by default.

0 comments on commit ef1fe79

Please sign in to comment.