Improve popup layout
authorJoey Schulze <joey@infodrom.org>
Mon, 4 Jun 2018 19:59:05 +0000 (21:59 +0200)
committerJoey Schulze <joey@infodrom.org>
Sat, 6 Oct 2018 17:30:27 +0000 (19:30 +0200)
src/InfoCon/sprit/list.wml

index ee99c57..6a4988c 100644 (file)
@@ -32,9 +32,9 @@ table.spritlog tbody tr:hover {
 }
 </style>
 
-<div id="details" class="popup" style="margin-top: 5px;display:none;">
-<div class="popup_title">Bearbeiten</div>
-<div class="popup_body">
+<div id="details" class="popup" style="display:none;">
+<div class="popup_title" style="padding-bottom: 0.35ex;">Bearbeiten</div>
+<div class="popup_body" style="padding-left: 2px;">
 <input type="hidden" id="id" name="id" value="">
 <input type="hidden" id="machine" name="machine">
 <label for="date">Datum</label>
@@ -57,7 +57,7 @@ table.spritlog tbody tr:hover {
 <input type="text" id="km" name="km" size="13">
 <input type="text" id="km_total" name="km_total" size="13">
 
-<div style="margin-top: 8px; text-align: center;">
+<div style="margin-top: 8px; margin-bottom: 1ex; text-align: center;">
 <input type="submit" onclick="return log_save()" value="Speichern">
 &nbsp;&nbsp;&nbsp;
 <input type="submit" onclick="$('#details').hide();return false" value="Abbrechen">