Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • typeset.sh - issues typeset.sh - issues
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Jacob Siefer
  • typeset.sh - issuestypeset.sh - issues
  • Issues
  • #166
Closed
Open
Issue created Apr 02, 2021 by Jacob Siefer@jsieferOwner

Layout Table | Cell height is not taken into account

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>fixed-cell-height.html</title>
    <style>
        @page {
            size: 210pt 210pt;
            margin: 5pt;
        }
        html, body {
            font-size: 5pt;
            padding: 0;
            margin: 0;
        }

        table, td, th {
            border: 1pt solid black;
            border-collapse: collapse;
        }

        th {
            height: 50pt;
            vertical-align: bottom;
        }

        th > div {
            border: 1px solid blue;
            max-width: 50pt;
            text-align: left;
        }

        th:nth-child(2n) div {
            transform: rotate(270deg);
        }

    </style>
</head>
<body>
    <table>
        <thead>
            <tr>
                <th><div>column 1</div></th>
                <th><div>column 2</div></th>
                <th><div>column 3</div></th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>hello world, foo bar</td>
                <td>hello world, foo bar</td>
                <td>hello world, foo bar</td>
            </tr>
        </tbody>
    </table>
</body>
</html>
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking