Skip to content

Commit

Permalink
style: Update summary inside-iframe css class (#2129)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPalafox authored Jan 3, 2024
1 parent bebe4f7 commit ee646f0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
*ngIf="trustedSummary"
class="panel"
[ngClass]="{
mobile: mobile
mobile: mobile,
'inside-iframe': insideIframe
}"
[ngClass]="insideIframe ? 'inside-iframe' : ''"
>
<header class="panel-header">
<!-- orcid logo -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ main {
}

main.inside-iframe {
margin-top: 0px;
margin-top: 0;
align-content: start;
grid-gap: 0;
height: 100vh;
box-sizing: border-box;

.panel-body {
padding-top: 16px;
overflow-y: auto;
}
}

.panel {
Expand Down

0 comments on commit ee646f0

Please sign in to comment.