Skip to content

Commit

Permalink
Merge pull request cypht-org#942 from josaphatim/enh-reset-setting-ic…
Browse files Browse the repository at this point in the history
…on-placement

Enhanced reset setting icon placement
  • Loading branch information
marclaporte authored Apr 11, 2024
2 parents c401139 + a857b47 commit bfb8eaa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/core/message_list_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ function message_since_dropdown($since, $name, $output_mod) {
if ($val == $since) {
$res .= ' selected="selected"';
if (($name == 'feed_since' && $val != 'today') || ($name != 'feed_since' && $val != '-1 week')) {
$reset = '<span class="tooltip_restore" restore_aria_label="Restore default value"><i class="bi bi-paperclip refresh_list reset_default_value_select"></i></span>';
$reset = '<span class="tooltip_restore" restore_aria_label="Restore default value"><i class="bi bi-arrow-repeat refresh_list reset_default_value_select"></i></span>';
}

}
Expand Down
6 changes: 5 additions & 1 deletion modules/core/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ div.unseen,
.reset_default_value_checkbox,
.reset_default_value_select,
.reset_default_value_input {
vertical-align: bottom;
vertical-align: center;
transform: scaleX(-1);
width: 18px;
height: 18px;
Expand Down Expand Up @@ -1331,3 +1331,7 @@ div.unseen,
.server_config_section { display: none; }
.hide {display: none;}
.step-container .invalid-feedback { display: block; }

.settings_table .form-select {
display: inline-block;
}

0 comments on commit bfb8eaa

Please sign in to comment.