nostalgic-css / NES.css

NES-style CSS Framework | ファミコン風CSSフレームワーク
https://nostalgic-css.github.io/NES.css/
MIT License
20.57k stars 1.64k forks source link

Form parts bleed outside of parent container #322

Closed alexd99 closed 4 years ago

alexd99 commented 5 years ago

Describe the bug

When I use one of the form parts (input, select, and text area) the right border bleeds past the edge of its container.

To Reproduce

  1. Put a form part inside of a container that has a defined width
  2. Put a background color on the parent container
  3. The right border bleeds past the parent container

I have built a code sandbox that demonstrates this behavior.

Expected behavior

Form parts should stop at the end of its parent container.

Screenshots

screen shot 2019-03-07 at 8 46 24 am

Environment:

runyasak commented 5 years ago

I have PR to fixed this case by width from nes-input to let it stretch to parent tag. Please, review and see more information from this #327 😁

thisisabhinay commented 4 years ago

Since, PR https://github.com/nostalgic-css/NES.css/pull/327 is waiting for contributor since April. I've fixed the issue as per suggestion by @BcRikko .

BcRikko commented 4 years ago

:tada: This issue has been resolved in version 2.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: