Restrict urls in checkout comments
Posted: Mon Sep 26, 2022 9:11 pm
Opencart 3.0.3.3.
Is there any way i can restrict links (urls) comments in checkout?
Is there any way i can restrict links (urls) comments in checkout?
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
This is a prime example of why it's better to explain the PROBLEM not what YOU think is the solution.htwp wrote: ↑Thu Oct 13, 2022 4:58 pmHi to everyone and thank you for your reply. The reason i need this is sometimes customers write in url (like https://...........) with many characters more than 100 and inside admin order page it breaks the columns. So i thought that if i restrict URLs never again will happen
Can you provide the css fix or it's a bit more complicated to write it here?paulfeakins wrote: ↑Fri Oct 14, 2022 4:47 pmThis is a prime example of why it's better to explain the PROBLEM not what YOU think is the solution.htwp wrote: ↑Thu Oct 13, 2022 4:58 pmHi to everyone and thank you for your reply. The reason i need this is sometimes customers write in url (like https://...........) with many characters more than 100 and inside admin order page it breaks the columns. So i thought that if i restrict URLs never again will happen
A simple bit of CSS will fix the problem with columns breaking.
Try something like:
Code: Select all
overflow-wrap: break-word;
Code: Select all
overflow-x: scroll;