diff --git a/src/main/resources/public/index.html b/src/main/resources/public/index.html
index 2e68f00..efe57b7 100644
--- a/src/main/resources/public/index.html
+++ b/src/main/resources/public/index.html
@@ -25,6 +25,12 @@
input {
width: 65%;
}
+
+ table tr td div {
+ max-height: 75px;
+ line-height: 25px;
+ overflow: scroll;
+ }
diff --git a/src/main/resources/public/js/main.js b/src/main/resources/public/js/main.js
index 729ca93..9db802c 100644
--- a/src/main/resources/public/js/main.js
+++ b/src/main/resources/public/js/main.js
@@ -52,7 +52,9 @@ const deleteButton = (shortUrl) => {
const TD = (s) => {
const td = document.createElement("td");
- td.innerHTML = s;
+ const div = document.createElement("div");
+ div.innerHTML = s;
+ td.appendChild(div);
return td;
};