mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 23:58:35 -06:00
Limit link table row height
This commit is contained in:
parent
04421a592b
commit
0c101a55bf
2 changed files with 9 additions and 1 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue