Skip to content

Commit 3b04299

Browse files
fix: LEAP-1494: Padding in new textarea is missing in LSO (#6496)
Co-authored-by: ricardoantoniocm <[email protected]> Co-authored-by: Brandon Martel <[email protected]>
1 parent 270d248 commit 3b04299

File tree

6 files changed

+17
-3
lines changed

6 files changed

+17
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import '../../../../../libs/ui/src/tokens/colors';
1+
@import '@humansignal/ui/src/tokens/colors';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import '@humansignal/ui/src/tokens/layout';
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@import './colors';
2-
@import './typography';
2+
@import './layout';
3+
@import './typography';

web/libs/editor/src/regions/TextAreaRegion/TextAreaRegion.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
textarea {
6363
// the same as in .mark, its padding set to 0
64-
padding: var(--spacing-small) var(--spacing-medium);
64+
padding: var(--spacing-small) var(--spacing-medium);
6565
}
6666
}
6767
}

web/libs/ui/src/tokens/layout.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
:root {
2+
--spacing-small-xx: 0.125rem;
3+
--spacing-small-x: 0.25rem;
4+
--spacing-small: 0.5rem;
5+
--spacing-medium: 1rem;
6+
--spacing-large: 1.5rem;
7+
--spacing-large-x: 2rem;
8+
--spacing-large-xx: 2.5rem;
9+
--radius-xs: var(--spacing-small-x);
10+
--radius-small: var(--spacing-small);
11+
}

web/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ module.exports = composePlugins(
236236
// Common dependencies across at least two sub-packages
237237
react: path.resolve(__dirname, "node_modules/react"),
238238
"react-dom": path.resolve(__dirname, "node_modules/react-dom"),
239+
"@humansignal/ui": path.resolve(__dirname, "libs/ui"),
239240
};
240241

241242
return merge(config, {

0 commit comments

Comments
 (0)