1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-01 18:13:32 +02:00

Merge pull request #364 from thisisabhinay/issues/nes-bleeding-form-inputs

String interpolation to calculate width of inputs. Fix #322
This commit is contained in:
B.C.Rikko
2019-10-10 12:18:54 +09:00
committed by GitHub
3 changed files with 6 additions and 2 deletions

4
.gitignore vendored
View File

@@ -3,3 +3,7 @@ node_modules
css
storybook-static
.DS_Store
# Ignoring built up css and map files
scss/*.css
scss/*.css.map

View File

@@ -8,7 +8,7 @@
@include compact-rounded-corners();
width: 100%;
width: calc(100% - #{2*$border-size});
padding: 0.5rem 1rem;
margin: 4px;
background-clip: padding-box;

View File

@@ -11,7 +11,7 @@
$colors: ($base-color, map-get($default-colors, "shadow"));
position: relative;
width: 100%;
width: calc(100% - #{2*$border-size});
margin: 4px;
select {