Budgetplaner: Abstand zwischen Zahnrad und Eingabefeld verkleinert
Der Abstand kam zum größeren Teil aus dem Zeilenumbruch zwischen Knopf und Feld: Als Leerzeichen in der Ziffernschrift der Zelle war er breiter als das Padding selbst. Beides zusammen jetzt auf ein Drittel. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
20b2406219
commit
c4e79e7a9a
2 changed files with 8 additions and 3 deletions
|
|
@ -465,7 +465,9 @@ table.budgetplaner td.budgetzelle { position: relative; }
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: .85rem;
|
font-size: .85rem;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
padding: 0 .25rem 0 0;
|
/* Ein Drittel des früheren Abstands: Der kam aus diesem Padding plus dem
|
||||||
|
Leerzeichen im Markup, das die Zelle in Ziffernschrift breit setzte. */
|
||||||
|
padding: 0 .27rem 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.zahnrad:hover,
|
.zahnrad:hover,
|
||||||
|
|
|
||||||
|
|
@ -169,10 +169,13 @@ include __DIR__ . '/../layout/kopf.php';
|
||||||
<?php if ($zeigtBudget): ?>
|
<?php if ($zeigtBudget): ?>
|
||||||
<td class="rechts budgetzelle<?= $laufend ?>">
|
<td class="rechts budgetzelle<?= $laufend ?>">
|
||||||
<?php if ($blatt): ?>
|
<?php if ($blatt): ?>
|
||||||
|
<?php /* Zahnrad und Feld ohne Zeilenumbruch dazwischen: Der
|
||||||
|
Umbruch wäre ein Leerzeichen, und in der Ziffernschrift
|
||||||
|
der Zelle ist das breiter als der Abstand selbst. */ ?>
|
||||||
<button type="button" class="zahnrad" aria-haspopup="true"
|
<button type="button" class="zahnrad" aria-haspopup="true"
|
||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
aria-label="<?= View::h($zeile['name'] . ' ' . Budgetplaner::MONATSNAMEN[$monat]) ?> übertragen">⚙</button>
|
aria-label="<?= View::h($zeile['name'] . ' ' . Budgetplaner::MONATSNAMEN[$monat]) ?> übertragen">⚙</button><input
|
||||||
<input type="text" inputmode="decimal" class="betragsfeld"
|
type="text" inputmode="decimal" class="betragsfeld"
|
||||||
data-monat="<?= $monat ?>"
|
data-monat="<?= $monat ?>"
|
||||||
name="betrag[<?= $id ?>][<?= $monat ?>]"
|
name="betrag[<?= $id ?>][<?= $monat ?>]"
|
||||||
value="<?= isset($zeile['eigenBudget'][$monat])
|
value="<?= isset($zeile['eigenBudget'][$monat])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue