Skip to content

Commit

Permalink
fix: style improvements for retry button
Browse files Browse the repository at this point in the history
  • Loading branch information
andygongea committed Apr 11, 2024
1 parent b1bbfaf commit 77497e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion media/views/snykCode/suggestion/suggestion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ body {
font-weight: 400;
}

.suggestion-details-content {
padding-bottom: 64px;
}

.sn-apply-fix {}

.suggestion-details {
Expand Down Expand Up @@ -603,7 +607,7 @@ body {
}


@media (max-width: 600px) {
@media (max-width: 480px) {
.wide {
display: none;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,11 @@ export class CodeSuggestionWebviewProvider
<section id="fixes-error-section" class="sn-ai-fix-error hidden">
<div id="info-no-diffs" class="font-light">
There was an issue when generating the fix.
⚠️ There was an issue when generating the fix.
</div>
<div class="sn-fix-wrapper">
<button id="retry-generate-fix" class="button generate-ai-fix">✨ Retry generate AI fixes</button>
</div>
<button id="retry-generate-fix" class="button generate-ai-fix">Retry generate fixes</button>
</section>
<section class="sn-community-fixes delimiter-top">
Expand Down

0 comments on commit 77497e3

Please sign in to comment.