Limit link table row height

This commit is contained in:
SinTan1729 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 { input {
width: 65%; width: 65%;
} }
table tr td div {
max-height: 75px;
line-height: 25px;
overflow: scroll;
}
</style> </style>
</head> </head>

View File

@ -52,7 +52,9 @@ const deleteButton = (shortUrl) => {
const TD = (s) => { const TD = (s) => {
const td = document.createElement("td"); const td = document.createElement("td");
td.innerHTML = s; const div = document.createElement("div");
div.innerHTML = s;
td.appendChild(div);
return td; return td;
}; };