mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-09-02 02:22:37 +02:00
fix: string interpolation to calculate width of inputs
Uses css calc() to calculate the width of form input classes (nes-input, nes-textarea, nes-select) and uses SCSS's string interpolation to place and perform calculation on variable's ($border-size) value
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user