Skip to content

Commit 52de2e7

Browse files
authored
Merge pull request #1713 from Shadow243/fixed-button-css
fix(ui): update dropdown button styles for snooze and tags dropdowns
2 parents 90c478e + 46c427e commit 52de2e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/imap/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ function snooze_dropdown($output, $unsnooze = false) {
14921492
$values = nexter_formats();
14931493

14941494
$txt = '<div class="dropdown d-inline-block">
1495-
<a class="hlink text-decoration-none dropdown-toggle" id="dropdownMenuSnooze" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true" data-bs-auto-close="outside">'.$output->trans('Snooze').'</a>
1495+
<a class="hlink text-decoration-none btn btn-sm btn-outline-secondary dropdown-toggle" id="dropdownMenuSnooze" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true" data-bs-auto-close="outside">'.$output->trans('Snooze').'</a>
14961496
<ul class="dropdown-menu" aria-labelledby="dropdownMenuSnooze">';
14971497
foreach ($values as $format) {
14981498
$labels = get_scheduled_date($format, true);
@@ -1514,7 +1514,7 @@ function snooze_dropdown($output, $unsnooze = false) {
15141514
function tags_dropdown($context, $headers) {
15151515
$folders = $context->get('tags', array());
15161516
$txt = '<div class="dropdown d-inline-block">
1517-
<a class="hlink text-decoration-none dropdown-toggle" id="dropdownMenuTag" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true">'.$context->trans('Tags').'</a>
1517+
<a class="hlink text-decoration-none btn btn-sm btn-outline-secondary dropdown-toggle" id="dropdownMenuTag" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true">'.$context->trans('Tags').'</a>
15181518
<ul class="dropdown-menu" aria-labelledby="dropdownMenuTag">';
15191519

15201520
$tags = !empty($headers['X-Cypht-Tags']) ? explode(',', $headers['X-Cypht-Tags']) : array();

0 commit comments

Comments
 (0)