Skip to content

Commit eeddc78

Browse files
PD-5182 improve affiliation panel spacing (#2807)
Co-authored-by: andrej romanov <50377758+auumgn@users.noreply.github.com> Co-authored-by: Angel Montenegro <a.montenegro@orcid.org>
1 parent ed85026 commit eeddc78

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎projects/orcid-ui/src/lib/components/panel/panel.component.scss‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@
6262
}
6363

6464
.orcid-panel__body {
65-
padding: 16px;
66-
6765
&:empty {
6866
padding: 0;
6967
min-height: 0;

‎src/app/record/components/affiliation/affiliation.component.html‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<!-- GENERAL DATA DISPLAY BY DEFAULT -->
44
<app-panel-data
55
class="default-data-loaded orc-font-body-small"
6-
[borderBottom]="false"
6+
[borderBottom]="panelDetailsState?.state && true"
7+
[deprecatedPadding]="true"
78
>
89
<div>
910
<div class="general-data">
@@ -99,7 +100,7 @@
99100

100101
<!-- DATA DISPLAY WHEN "MORE DETAILS" IS CLICKED -->
101102
<app-panel-data
102-
class="mt-4"
103+
[deprecatedPadding]="true"
103104
[borderBottom]="false"
104105
*ngIf="panelDetailsState?.state"
105106
>

0 commit comments

Comments
 (0)