auth

Main authentication module for my projects
git clone git://git.finwo.net/app/auth
Log | Files | Refs

negative-misaligned.html (2112B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3   <head>
      4     <meta charset="utf-8">
      5     <meta name="viewport" content="width=device-width,initial-scale=1">
      6     <title>misaligned baseline control fixture</title>
      7     <link rel="stylesheet" href="../../../app/shared/style/global.css">
      8   </head>
      9   <body>
     10     <!-- negative control: row 2 sets font-size on the td and vertical-align: top beside a two-line cell -->
     11     <main class="content">
     12       <section class="card" aria-label="Alignment control">
     13         <table class="table">
     14           <thead>
     15             <tr>
     16               <th scope="col">Name</th>
     17               <th scope="col">Status</th>
     18               <th scope="col">Added</th>
     19               <th scope="col">Actions</th>
     20             </tr>
     21           </thead>
     22           <tbody>
     23             <tr>
     24               <td data-label="Name"><span class="table-mono">aligned.test</span></td>
     25               <td data-label="Status">
     26                 <span class="status">
     27                   <span class="status-dot" aria-hidden="true"></span>
     28                   Verified
     29                 </span>
     30               </td>
     31               <td data-label="Added">2026-01-02</td>
     32               <td data-label="Actions">
     33                 <button class="button-inline" type="button">Edit</button>
     34               </td>
     35             </tr>
     36             <tr>
     37               <td data-label="Name" style="font-size: .75rem"><span class="table-mono">shrunk-strut.test</span></td>
     38               <td data-label="Status">
     39                 <span class="status">
     40                   <span class="status-dot" aria-hidden="true"></span>
     41                   Verified
     42                 </span>
     43               </td>
     44               <td data-label="Added" style="vertical-align: top">2026-01-02</td>
     45               <td data-label="Actions">
     46                 <span class="table-title">row-height-driver</span>
     47                 <span class="table-sub">a second line makes the row taller</span>
     48                 <button class="button-inline" type="button">Edit</button>
     49               </td>
     50             </tr>
     51           </tbody>
     52         </table>
     53       </section>
     54     </main>
     55   </body>
     56 </html>