View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030550 | mantisbt | ui | public | 2022-06-12 09:37 | 2022-06-19 10:46 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Target Version | 2.26.0 | Fixed in Version | 2.26.0 | ||
Summary | 0030550: Buttons' vertical size is slightly smaller than other form elements | ||||
Description | This causes a slight but noticeable vertical offset in toolbars when other form elements such as selects are used next to them in a separate form, as shown in the attached screenshot. I believe this happens because the ACE theme vertically centers the form button relative to the select box, which is slightly higher (30px vs 28.9333px for the button), so it looks OK within the form itself, but other buttons are top-aligned. | ||||
Additional Information | Initially discussed in https://github.com/mantisbt/mantisbt/pull/1821#issuecomment-1148280217 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
@atrol noticed that MantisBT master 3d88f684 introduced a regression, for details see discussion in the Github commit. |
|
MantisBT: master 3d88f684 2022-06-12 09:38 Details Diff |
CSS: adjust height of .btn-sm class Setting the height to 30px allows proper vertical alignment of toolbar buttons when print_form_button() is used next to a form containing a select. Without this, the button's height is 28.9333px, causing a slight offset. Fixes 0030550 |
Affected Issues 0030550 |
|
mod - css/ace-mantis.css | Diff File | ||
MantisBT: master 4857770f 2022-06-14 09:51 Details Diff |
Use extra-small buttons in widget toolbar menus Fixes a regresssion introduced by 3d88f6842b0802eea38f545b45e098561d39de52 causing an increase in height of the buttons displayed inside of widget toolbar menus (e.g. "View issues" button on My View Page boxes). Using XS buttons instead of Small fixes the problem, and also improves the display with a slightly bigger font size. Fixes 0030550 |
Affected Issues 0030550 |
|
mod - admin/test_langs.php | Diff File | ||
mod - bug_update_page.php | Diff File | ||
mod - my_view_inc.php | Diff File |