simple-note icon indicating copy to clipboard operation
simple-note copied to clipboard

How to show more characters in title section

Open tasinone opened this issue 2 years ago • 1 comments

I would love to show some more characters in the title section. Can you tell me exactly where I should edit the code to do that or how can I do that? Screenshot-9

tasinone avatar Jun 04 '23 04:06 tasinone

https://github.com/artyuum/simple-note/blob/1172d8275ac0835edb4fdc28eb008cf66939a303/index.php#L162

Increment the 3rd argument of the substr() function. For example if you want to display 50 characters, you would change it like this:

substr($row['title'], 0, 50)

artyuum avatar Jun 04 '23 12:06 artyuum