mirror of
https://github.com/dzeiocom/components.git
synced 2025-04-23 19:32:14 +00:00
fix: Add pre-wrap to Text component so that elements with \n wrap
Signed-off-by: Avior <f.bouillon@aptatio.com>
This commit is contained in:
parent
eaf509262d
commit
acc4230cb6
@ -4,6 +4,7 @@
|
||||
margin 0
|
||||
font-size rem(16)
|
||||
font-weight normal
|
||||
white-space pre-wrap
|
||||
|
||||
+ .text
|
||||
margin-top 8px
|
||||
|
@ -59,7 +59,7 @@ const types: Record<Types, {
|
||||
/**
|
||||
* Display Text lol
|
||||
*
|
||||
* @version 1.0.0
|
||||
* @version 1.0.1
|
||||
*/
|
||||
export default class Text extends React.Component<Props> {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user