css: "text-align: right" for domains in tables

This commit is contained in:
Miraty 2023-01-23 01:39:18 +01:00
parent 7c7e996967
commit 01e9881ce6
3 changed files with 6 additions and 2 deletions

View File

@ -107,3 +107,7 @@ table {
max-width: none;
border-spacing: 1ch 0;
}
table.zone td:first-child {
text-align: right;
}

View File

@ -27,7 +27,7 @@ if (isset($data['zone-raw']))
if (isset($data['zone-table'])) { ?>
<table>
<table class="zone">
<tr>
<th><?= _('Domain') ?></th>
<th><?= _('TTL') ?></th>

View File

@ -11,7 +11,7 @@ foreach (regListUserDomains() as $domain)
<input type="submit" value="<?= _('Display') ?>">
</form>
<table>
<table class="zone">
<tr>
<th><?= _('Domain') ?></th>
<th><?= _('TTL') ?></th>