Enforce line heights

This commit is contained in:
David Bomba 2023-02-26 17:36:39 +11:00
parent fde92bcd17
commit 7ff082c9be

View File

@ -56,13 +56,14 @@
margin-top: 1rem; margin-top: 1rem;
gap: 20px; gap: 20px;
margin-left: 0px; margin-left: 0px;
line-height: var(--line-height); line-height: var(--line-height) !important;
} }
#entity-details p { #entity-details p {
margin-right: 0px; margin-right: 0px;
margin-top: 5px; margin-top: 0px;
white-space: nowrap; white-space: nowrap;
line-height: var(--line-height) !important;
} }
.client-entity-wrapper .wrapper-info-text { .client-entity-wrapper .wrapper-info-text {
@ -94,14 +95,12 @@
.client-entity-wrapper .wrapper-left-side #company-address { .client-entity-wrapper .wrapper-left-side #company-address {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: 0.5rem;
margin-right: 5px; margin-right: 5px;
} }
.client-entity-wrapper .wrapper-left-side #shipping-details { .client-entity-wrapper .wrapper-left-side #shipping-details {
display: $show_shipping_address; display: $show_shipping_address;
flex-direction: column; flex-direction: column;
margin-top: 0.5rem;
margin-right: 5px; margin-right: 5px;
} }
@ -112,14 +111,15 @@
.client-entity-wrapper #entity-details { .client-entity-wrapper #entity-details {
text-align: left; text-align: left;
margin-top: 0.5rem;
min-width: 100%; min-width: 100%;
line-height: var(--line-height) !important;
} }
.client-entity-wrapper #entity-details > tr, .client-entity-wrapper #entity-details > tr,
.client-entity-wrapper #entity-details th { .client-entity-wrapper #entity-details th {
font-weight: normal; font-weight: normal;
padding-right:8px; padding-right:8px;
line-height: var(--line-height) !important;
} }
[data-ref="table"] { [data-ref="table"] {
@ -380,7 +380,7 @@
</div> </div>
<div class="wrapper-right-side"> <div class="wrapper-right-side">
<h2 class="wrapper-info-text">$details_label</h2> <h2 class="wrapper-info-text">$details_label</h2>
<table id="entity-details" cellspacing="0" dir="$dir"></table> <table id="entity-details" cellspacing="0" cellpadding="0" dir="$dir"></table>
</div> </div>
</div> </div>
</div> </div>