With width:100%, the table stretched to fill the container — and the Character column (the only one with stretchable text) absorbed all the extra space, looking much wider than the longest name needed. width:auto lets each column size to its content. Table now fits its data; container still scrolls horizontally if content ever exceeds the viewport. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
756 B
HTML
18 lines
756 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Mosswart Overlord v2</title>
|
|
<link rel="icon" type="image/png" href="/icons/7735.png" />
|
|
<link rel="preload" as="image" href="/dereth.png" />
|
|
<link rel="preload" as="image" href="/icons/0600127E.png" />
|
|
<link rel="preload" as="fetch" href="/dungeon_tiles.json" crossorigin="anonymous" />
|
|
<script type="module" crossorigin src="/assets/index-C-CrqDmq.js"></script>
|
|
<link rel="modulepreload" crossorigin href="/assets/react-yfL0ty4i.js">
|
|
<link rel="stylesheet" crossorigin href="/assets/index-C28HcMMD.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|