generated from abelflopes/lerna-monorepo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove form field wrapping textarea
- Loading branch information
1 parent
b66a5b5
commit 07ce4e0
Showing
3 changed files
with
78 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
@import "@react-ck/form-field"; | ||
@use "@react-ck/theme"; | ||
@use "@react-ck/form-field"; | ||
|
||
// TODO: fix height offset between standalone and non-standalone (border) | ||
|
||
.root { | ||
@include form-field-input; | ||
@include form-field.form-field-input; | ||
} | ||
|
||
// When not inside form field, has own border, etc | ||
.standalone { | ||
@include form-field.form-field-container; | ||
|
||
@each $key, $props in form-field.$form-field-styles { | ||
&.skin_#{$key} { | ||
@each $propKey, $propValue in $props { | ||
@include theme.define-css-var(form-field, $propKey, $propValue); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters