mirror of
https://github.com/dzeiocom/components.git
synced 2025-06-08 17:19:55 +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
|
margin 0
|
||||||
font-size rem(16)
|
font-size rem(16)
|
||||||
font-weight normal
|
font-weight normal
|
||||||
|
white-space pre-wrap
|
||||||
|
|
||||||
+ .text
|
+ .text
|
||||||
margin-top 8px
|
margin-top 8px
|
||||||
|
@ -59,7 +59,7 @@ const types: Record<Types, {
|
|||||||
/**
|
/**
|
||||||
* Display Text lol
|
* Display Text lol
|
||||||
*
|
*
|
||||||
* @version 1.0.0
|
* @version 1.0.1
|
||||||
*/
|
*/
|
||||||
export default class Text extends React.Component<Props> {
|
export default class Text extends React.Component<Props> {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user