Skip to content

Commit ddc5b74

Browse files
committed
fix(frontend): adjust HTML structure for draft edit button alignment in message headers
1 parent ba35086 commit ddc5b74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/imap/output_modules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ protected function output() {
308308
}
309309
$is_draft = isset($headers['Flags']) && mb_stristr($headers['Flags'], 'draft');
310310
if($is_draft) {
311-
$txt .= '<div class="row g-0 py-2"><div class="col-12 text-center"><a class="btn btn-primary" href="?page=compose'.$reply_args.'&imap_draft=1"><i class="bi bi-pencil"></i> '.$this->trans('Edit Draft').'</a></div></div>';
311+
$txt .= '<div class="row g-0 py-2"><div class="col-12 text-center text-md-start"><a class="btn btn-primary" href="?page=compose'.$reply_args.'&imap_draft=1"><i class="bi bi-pencil"></i> '.$this->trans('Edit Draft').'</a></div></div>';
312312
}
313313
foreach ($headers as $name => $value) {
314314
if (!in_array(mb_strtolower($name), $small_headers)) {

0 commit comments

Comments
 (0)