gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

RangeControl marks styling regression

Open stokesman opened this issue 5 years ago • 4 comments

Description

The marks in RangeControl are vertically off-center.

I've visited the WordPress Design Library looking for any specs on the mark placement. I found the designs for range controls but could not find any of them with marks.

Given the lack of specs, I'd recommend adjusting them vertically to center on the rail since they were like that originally.

Current Styling

image

Expected Styling (from #26745)

range-controls-fixed-negative-min

Step-by-step reproduction instructions

Check the marks story for RangeControl in storybook.

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

stokesman avatar Sep 27 '21 16:09 stokesman

@stokesman I can't able to generate the error. https://www.awesomescreenshot.com/image/14134856?key=230c4db092cda02a0162b73b2166b348

HILAYTRIVEDI avatar Sep 28 '21 10:09 HILAYTRIVEDI

Thanks for testing this @HILAYTRIVEDI. I see from your screenshot that they are not off the rails completely but they are still not as expected. Posting a portion of your image here:

image

The marks should be vertically centered on the rails.

stokesman avatar Sep 28 '21 15:09 stokesman

#Range control marks center aligned #35206 @stokesman I made the required code changes in this PR. Please review, thank you.

HILAYTRIVEDI avatar Sep 29 '21 05:09 HILAYTRIVEDI

Looks like #64481 was opened (and recently fixed) for this same issue. Going to close this PR.

ciampo avatar Aug 15 '24 07:08 ciampo