Home
Press kit
Copy logo as SVG
Learn
Pricing
MCP
Blog
Contact
Community
(opens in a new tab)
Join the Nordcraft Discord
Docs
(opens in a new tab)
All topics
Help forum
Truncate Text
Alex
2 years ago
Are we able to truncate text values in Toddle
? I want to limit text from overflowing like shown in the screenshot
svenning
2 years ago
Yes
, we don
't have any UI for that at the moment
, but try and use the custom CSS section
. And have a read here
:
https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow
Alex
2 years ago
Thank you
!
Andreas Møller
2 years ago
You might need to add white
-space
: nowrap
Alex
2 years ago
Thanks I
'll give it a go
!
Tod
2 years ago
Great energy
@Alex
! Your continuous contribution to the toddle Community just made you advance to Community Level 2
!
Seun Orofin
2 years ago
Where you able to get this to work
?
Mr.R
2 years ago
Hi
, i tried to add the
"text
-overflow
: ellipsis
" on my list returned from the API but it doesn
't do anything when down
-resizing
?
@Mr.R
Hi
, i tried to add the
"text
-overflow
: ellipsis
" on my list returned from the API but it doesn
't do anything when down
-resizing
?
needtheanswers
2 years ago
Does your parent div have a fixed width
? If not this might be the reason
🤔
@Mr.R
Hi
, i tried to add the
"text
-overflow
: ellipsis
" on my list returned from the API but it doesn
't do anything when down
-resizing
?
Max
2 years ago
This might help
:
https://css-tricks.com/flexbox-truncated-text/
🙂
👍
1
Leave a comment