feat: enhanced text wrapping and ant-input styling
This commit is contained in:
parent
d77c1ce2b4
commit
2b17319855
@ -189,7 +189,11 @@ body[os='windows'] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.text-nowrap {
|
.text-nowrap {
|
||||||
white-space: nowrap;
|
display: -webkit-box !important;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
white-space: normal;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -398,6 +398,9 @@ const Textarea = styled(TextArea)`
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
&.ant-input {
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Toolbar = styled.div`
|
const Toolbar = styled.div`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user