Skip to content

Commit

Permalink
Fix pull request popover spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
greggbjensen committed Aug 26, 2024
1 parent 020446a commit 9a51d8a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,10 @@

<mtx-popover #popover="mtxPopover">
<ng-template mtxPopoverContent let-pullRequest="pullRequest">
<div style="max-width: 300px">
<div class="pull-head">
<span class="pull-user">{{ pullRequest.user?.name }}</span>
<span>{{ pullRequest.updatedAt | date: 'short' }}</span>
</div>
<markdown [data]="pullRequest.body | cleanMarkdown" [disableSanitizer]="true"> </markdown>
<div class="pull-head">
<span class="pull-user">{{ pullRequest.user?.name }}</span>
<span>{{ pullRequest.updatedAt | date: 'short' }}</span>
</div>
<markdown class="pull-description" [data]="pullRequest.body | cleanMarkdown" [disableSanitizer]="true"> </markdown>
</ng-template>
</mtx-popover>
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@

<mtx-popover #popover="mtxPopover">
<ng-template mtxPopoverContent let-pullRequest="pullRequest">
<div style="max-width: 300px">
<div class="pull-head">
<span class="pull-user">{{ pullRequest.user?.name }}</span>
<span>{{ pullRequest.updatedAt | date: 'short' }}</span>
</div>
<markdown [data]="pullRequest.body | cleanMarkdown" [disableSanitizer]="true"> </markdown>
<div class="pull-head">
<span class="pull-user">{{ pullRequest.user?.name }}</span>
<span>{{ pullRequest.updatedAt | date: 'short' }}</span>
</div>
<markdown class="pull-description" [data]="pullRequest.body | cleanMarkdown" [disableSanitizer]="true">
</markdown>
</ng-template>
</mtx-popover>
}
Expand Down
2 changes: 2 additions & 0 deletions prdeploy-app/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ a {
div.mtx-popover-panel {
padding: 15px;
background-color: $white;
max-width: 700px;
min-width: 300px;
}

.color-preview {
Expand Down

0 comments on commit 9a51d8a

Please sign in to comment.