Skip to content

Commit 3498915

Browse files
committed
added min-height
1 parent fa22d45 commit 3498915

File tree

1 file changed

+7
-3
lines changed
  • packages/app/src/components/CommentCreator

1 file changed

+7
-3
lines changed

packages/app/src/components/CommentCreator/index.less

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
transition: height 150ms ease-in-out;
1212

1313
.ant-input {
14+
position: relative;
15+
1416
height: 100%;
17+
min-height: 4.5vh;
18+
1519
width: 100%;
1620

1721
padding: 5px 10px;
@@ -20,18 +24,18 @@
2024
border-color: transparent !important;
2125
box-shadow: none;
2226

23-
border-radius: 3px 0 0;
24-
2527
transition: height 150ms linear;
2628
}
2729

2830
.ant-btn {
31+
position: relative;
32+
2933
display: flex;
3034
align-items: center;
3135
justify-content: center;
3236

3337
height: 100%;
34-
min-height: 100%;
38+
min-height: 4.5vh;
3539

3640
border-radius: 0 10px 10px 0;
3741
border: none;

0 commit comments

Comments
 (0)