Skip to content

Commit

Permalink
fix: update styles to play better together with ls protocol version 16 (
Browse files Browse the repository at this point in the history
#546)

* fix: update styles to play better together with ls protocol version 16

* fix: stylings across products

* fix: use code security panel for quality

---------

Co-authored-by: Abdelrahman Shawki Hassan <[email protected]>
  • Loading branch information
bastiandoetsch and ShawkyZ authored Oct 23, 2024
1 parent 764dad0 commit ccce690
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 643 deletions.
1 change: 0 additions & 1 deletion media/views/common/vscode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
body {
padding: 0 var(--container-paddding);
color: var(--vscode-foreground);
font-size: var(--vscode-font-size);
font-weight: var(--vscode-font-weight);
font-family: var(--vscode-font-family);
background-color: var(--vscode-editor-background);
Expand Down
3 changes: 0 additions & 3 deletions media/views/common/webview.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
html {
height: 100%;
font-size: 62.5%;
}

body {
Expand All @@ -13,10 +12,8 @@ body * {
}

h2, h3 {
font-size: 1.1rem;
margin-block-start: 0;
margin-block-end: 0.4rem;
font-weight: 700;
text-transform: uppercase;
}

Expand Down
13 changes: 2 additions & 11 deletions media/views/oss/suggestion/suggestion.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
@import '../../common/webview';

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

.identifiers {
font-size: 1.3rem;
line-height: 2rem;
:root {
font-size: var(--vscode-editor-font-size);
}

.vscode-dark .light-only {
Expand Down
Loading

0 comments on commit ccce690

Please sign in to comment.