Skip to content

Input elements lack consistency. #97

@Cerbrus

Description

@Cerbrus

Describe the bug

There's a lot of inconsistency in the styling of input elements and buttons:

  • Input elements are rendered with different background colors, borders and even sizes.
  • Buttons aren't aligned, and inconsistently either have a border or a background color
  • (The "expand/collapse" arrow for the filter expansion is huge)

See screenshot.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://software.codidact.com/
  2. Click on 'Filters (None)'
  3. See layout / styling issues

Expected behavior

  • I'd expect all input elements to be the same size, color, and have the same borders.
  • I'd expect all buttons to be aligned vertically.
  • I'd expect all buttons to have consistent styling. (border / background color: Either everything has a border, or nothing)

Screenshots

image

Desktop:

  • OS: Windows
  • Browser: Chrome
  • Version: 119.0.6045.106 (Official Build) (64-bit)

Additional details

The CSS responsible for the (mis-)alignment of that [apply] button is this:

@media screen and (min-width: 780px)
.form-group-horizontal>:last-child {
    margin: 0 0 0 0.5em !important;
}

Disabling that fixes the alignment:
image

Metadata

Metadata

Assignees

Labels

area: componentsChanges to design componentscomplexity: averageThe issue is not particularly hard but requires effort to resolvetype: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions