Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eca8ee0

Browse files
authored
tweak widget width, line-height and textarea rows (#76)
1 parent 5574b74 commit eca8ee0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/feedback/FeedbackDialog.css

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

3737
.dialog {
3838
position: fixed;
39-
width: 280px;
39+
width: 210px;
4040
padding: 16px 22px 10px;
4141
font-size: var(--bucket-feedback-dialog-font-size, 1rem);
4242
font-family: var(

src/feedback/FeedbackForm.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
text-wrap: balance;
4949
max-width: calc(100% - 20px);
5050
margin-bottom: 6px;
51+
line-height: 1.3;
5152
}
5253

5354
.dimmed {
@@ -69,7 +70,7 @@
6970
Open Sans,
7071
sans-serif
7172
);
72-
73+
line-height: 1.3;
7374
resize: none;
7475

7576
color: var(--bucket-feedback-dialog-color, #1e1f24);

src/feedback/FeedbackForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export const FeedbackForm: FunctionComponent<FeedbackFormProps> = ({
200200
class="textarea"
201201
name="comment"
202202
placeholder={t.QuestionPlaceholder}
203-
rows={5}
203+
rows={4}
204204
/>
205205
</div>
206206

0 commit comments

Comments
 (0)