Skip to content

Commit

Permalink
refactor: remove unnecessary stylesheet and combine stylesheets (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
teodora-sandu authored Jun 27, 2024
1 parent 5ba8dc9 commit b6c6dbd
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 97 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [2.12.4]
- Fix `.suggestion` class to ensure it is scrollable and not overlapped by the `.suggestion-actions` fixed element. This change prevents the suggestion content from being hidden.
- transmit required protocol version to language server
- Remove unused stylesheet and refactor stylesheets

## [2.12.3]
- Fix a bug in AI Applyfix on Windows.
Expand Down
48 changes: 0 additions & 48 deletions media/views/common/suggestionHeader.scss

This file was deleted.

52 changes: 50 additions & 2 deletions media/views/oss/suggestion/suggestion.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
@import '../../common/webview';
@import '../../common/suggestionHeader';

.suggestion {
position: relative;
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}

.suggestion .suggestion-text {
padding: 0.4rem 0;
margin-bottom: 0.8rem;
font-size: 1.8rem;
font-weight: 500;
line-height: 2.4rem;
}

.severity {
display: flex;
flex-direction: column;
flex-grow: 0;
float: left;
margin: 0 1rem 0 0;
text-align: center;
}

.severity .icon {
width: 32px;
height: 32px;
}

.icon {
vertical-align: middle;
width: 16px;
height: 16px;
}

.identifiers {
font-size: 1.3rem;
line-height: 2rem;
}

.vscode-dark .light-only {
display: none;
}

.vscode-light .dark-only {
display: none;
}

.clickable:hover {
cursor: pointer;
Expand Down Expand Up @@ -48,4 +96,4 @@
color: var(--vscode-foreground);
font-size: var(--vscode-editor-font-size);
font-family: var(--vscode-editor-font-family);
}
}
47 changes: 0 additions & 47 deletions media/views/snykCode/falsePositive/falsePositive.scss

This file was deleted.

0 comments on commit b6c6dbd

Please sign in to comment.