• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sebnitu / vrembem / 10202349097
94%
main: 100%

Build:
Build:
LAST BUILD BRANCH: next
DEFAULT BRANCH: main
Ran 01 Aug 2024 04:46PM UTC
Jobs 1
Files 53
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Aug 2024 04:44PM UTC coverage: 100.0%. Remained the same
10202349097

push

github

web-flow
Refactor how form-controls handle size calculations (#1964)

This PR tries to simplify form-control sizing in a few ways. First, it removes the need to subtract border-width from padding. This ended up being an unnecessary calculation and resulted in extra complexity when trying to align form-control sizing. We also remove the need to set `min-width` and `min-height` on form controls. Instead, sizing is determined by the inherit properties set on the control such as line-height, padding and border-width.

Lastly, form-control components that do need to have their sizes explicitly set (such as checkbox, radio and switch) now do so using the refactored `form-control` library module. Width and height are calculated using line-height, padding and border-width properties and can be overridden on a component bases using custom properties.

**Additional changes**
- `minus-border-width` has been removed as we no longer subtract border width from padding values.
- `size()` has been refactored to allow setting a property prefix of min/max.
- `form-control-get-size()` function added to calculate and return form control size.
- `form-control-set-size()` mixin added to set the form-control-size custom property when it's needed.
- `form-control-size()` mixin added for setting the width/height properties using the form-control-size custom property. Can optionally set min/max width/height using the prefix parameter.

531 of 531 branches covered (100.0%)

Branch coverage included in aggregate %.

2399 of 2399 relevant lines covered (100.0%)

42.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10202349097.1 01 Aug 2024 04:46PM UTC 0
100.0
GitHub Action Run
Source Files on build 10202349097
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10202349097
  • 14dd19e9 on github
  • Prev Build on next (#10187556632)
  • Next Build on next (#10202454082)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc