1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-26 07:38:36 -06:00

Limit link table row height

This commit is contained in:
Sayantan Santra 2022-11-03 15:19:22 -05:00
parent 04421a592b
commit 0c101a55bf
2 changed files with 9 additions and 1 deletions

View file

@ -25,6 +25,12 @@
input {
width: 65%;
}
table tr td div {
max-height: 75px;
line-height: 25px;
overflow: scroll;
}
</style>
</head>

View file

@ -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;
};