fix table responsiveness

This commit is contained in:
Arthur Lu 2023-04-21 22:22:19 +00:00
parent 90193b3cf4
commit dee465022f

View File

@ -20,17 +20,19 @@
</header> </header>
<main class="w3-container"> <main class="w3-container">
<h2>Account</h2> <h2>Account</h2>
<table id="resource-table" class="w3-table w3-table-all w3-responsive"> <div class="w3-responsive">
<thead style="background-color: black; color: white;"> <table id="resource-table" class="w3-table w3-table-all" style="overflow-x: auto;">
<tr style="background-color: black; color: white;"> <thead>
<th style="background-color: black; color: white;">Resource Type</th> <tr class="w3-black">
<th style="background-color: black; color: white;">Allocated Amount</th> <th>Resource Type</th>
<th style="background-color: black; color: white;">Free Amount</th> <th>Allocated Amount</th>
<th style="background-color: black; color: white;">Total Amount</th> <th>Free Amount</th>
</tr> <th>Total Amount</th>
</thead> </tr>
<tbody></tbody> </thead>
</table> <tbody></tbody>
</table>
</div>
</main> </main>
</body> </body>
</html> </html>