MemberDataSheet: Make more compact

This commit is contained in:
2023-12-22 00:56:57 +01:00
parent ba241c98a9
commit b79fcfb1ed
3 changed files with 12 additions and 8 deletions

View File

@ -105,8 +105,8 @@ main table tr.sectionheading {
}
main table tr.sectionheading th {
padding-top: 1mm;
padding-bottom: 1mm;
padding-top: 0.5mm;
padding-bottom: 0.5mm;
font-weight: bold;
text-align: center;
font-size: 10pt;

View File

@ -13,8 +13,8 @@
<col style="width: 30.0mm;"/>
<col style="width: 51.5mm;"/>
<col style="width: 20.0mm;"/>
<col style="width: 10.0mm;"/>
<col style="width: 20.0mm;"/>
<col style="width: 12.0mm;"/>
<col style="width: 18.0mm;"/>
<col style="width: 31.5mm;"/>
</colgroup>
<tbody>
@ -28,14 +28,14 @@
<tr>
<td class="large">@Model.Member.Prefix</td>
<td class="large">@Model.Member.GivenName @Model.Member.MiddleName</td>
<td colspan="3" class="large">@Model.Member.FamilyName</td>
<td class="large" colspan="3">@Model.Member.FamilyName</td>
<td class="large">@Model.Member.Suffix</td>
</tr>
<tr>
<th>Mitglieds-Nr.:</th>
<td class="large">@Model.Member.MgNr</td>
<td>@Model.Member.MgNr</td>
<th colspan="2">Geburtsjahr/-tag:</th>
<td colspan="2" class="large">@(string.Join('.', Model.Member.Birthday?.Split('-')?.Reverse() ?? Array.Empty<string>()))</td>
<td colspan="2">@(string.Join('.', Model.Member.Birthday?.Split('-')?.Reverse() ?? Array.Empty<string>()))</td>
</tr>
<tr>
<th>Adresse:</th>
@ -158,7 +158,7 @@
}
@if (areaComs.Count != 0) {
<h2>Flächenbindungen</h2>
<h2>Flächenbindungen per @($"{Model.Date:dd.MM.yyyy}")</h2>
<table class="area-commitements">
<colgroup>
<col style="width: 40mm;"/>

View File

@ -1,4 +1,8 @@

h2 {
margin-bottom: 0.5em !important;
}
table.member {
margin-bottom: 5mm;
}