View Issue Details

IDProjectCategoryView StatusLast Update
0030550mantisbtuipublic2022-06-19 10:46
Reporterdregad Assigned Todregad  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Target Version2.26.0Fixed in Version2.26.0 
Summary0030550: 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

TagsNo tags attached.
Attached Files
image.png (11,501 bytes)   
image.png (11,501 bytes)   

Relationships

child of 0030551 resolveddregad Project Edit Page improvements 

Activities

dregad

dregad

2022-06-19 10:44

developer   ~0066769

@atrol noticed that MantisBT master 3d88f684 introduced a regression, for details see discussion in the Github commit.

Related Changesets

MantisBT: master 3d88f684

2022-06-12 09:38

dregad

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

dregad

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