Skip to content

Commit 489330a

Browse files
committed
fix(#1): conversation header and message input shrink in safari
1 parent 07242dd commit 489330a

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

themes/default/_variables.scss

+2
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,8 @@ $search-input-disabled-bg-color: $search-disabled-bg-color !default;
698698
// Fonts
699699
$search-font-family: inherit !default;
700700
$search-font-size: inherit !default;
701+
$search-input-font-family: inherit !default;
702+
$search-input-font-size: 0.8em !default;
701703

702704
// Opacity
703705
$search-disabled-opacity: $disabled-opacity !default;

themes/default/components/_conversation-header.scss

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
background-color: $conversation-header-bg-color;
1111
font-family: $conversation-header-font-family;
1212
font-size: $conversation-header-font-size;
13+
flex-shrink: 0;
1314
user-select: none;
1415
//box-shadow: 0px 2px 5px -2px rgba(0,0,0,0.38);
1516

themes/default/components/_message-input.scss

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ $_message-input-content-editor-container-max-height: $message-input-max-lines *
3535
box-sizing: border-box;
3636
padding: $message-input-padding;
3737
overflow: $_message-input-overflow;
38+
flex-shrink: 0;
3839

3940
&__content-editor-wrapper {
4041
box-sizing: border-box;

themes/default/components/_search.scss

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
position: relative;
1212
border-radius: $search-border-radius;
1313
padding: 0.6em 0.9em;
14+
font-size: $search-font-size;
15+
font-family: $search-font-family;
1416

1517
&__input {
1618
box-sizing: border-box;
@@ -22,6 +24,8 @@
2224
outline:0;
2325
margin-right:0.5em;
2426
background-color:$search-input-bg-color;
27+
font-size: $search-input-font-size;
28+
font-family: $search-input-font-family;
2529
}
2630

2731
&__input:disabled {

0 commit comments

Comments
 (0)