Skip to content

Commit 570a3e4

Browse files
committed
refactor(chat): textarea size
1 parent 3d99d05 commit 570a3e4

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

src/components/chat/themes/shared/chat.bootstrap.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $theme: $bootstrap;
55

66
:host {
77
::part(text-input) {
8-
--textarea-height: #{rem(56px)};
8+
--textarea-height: #{rem(38px)};
99
}
1010
}
1111

src/components/chat/themes/shared/chat.fluent.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
:host {
44
::part(text-input) {
5-
--textarea-height: #{rem(32px)};
5+
--textarea-height: #{rem(40px)};
66
}
77
}

src/components/chat/themes/shared/input/input.bootstrap.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
$theme: $bootstrap;
55

66
igc-textarea::part(input) {
7-
max-height: rem(166px);
7+
max-height: rem(170px);
8+
padding-block: rem(8px);
89
}
910

1011
[part~='dragging'] {

src/components/chat/themes/shared/input/input.fluent.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
$theme: $fluent;
55

66
igc-textarea::part(input) {
7-
max-height: rem(144px);
7+
max-height: rem(150px);
8+
padding-block: rem(11px);
89
}
910

1011
[part~='dragging'] {

0 commit comments

Comments
 (0)