Skip to content

Commit

Permalink
fix(styles): fix style lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bsahitya committed Aug 13, 2024
1 parent 6799607 commit 54e1aae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion libs/components/src/code-editor/code-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { css, html, LitElement, PropertyValues, unsafeCSS } from 'lit';
import { customElement, property } from 'lit/decorators.js';
import { createRef, Ref, ref } from 'lit/directives/ref.js';

import { cvEditorDarkTheme, cvEditorLightTheme } from './code-editor.theme';
import styles from './code-editor.scss?inline';

// -- Monaco Editor Imports --
Expand All @@ -17,7 +18,6 @@ import 'monaco-editor/esm/vs/basic-languages/python/python.contribution';
import 'monaco-editor/esm/vs/basic-languages/sql/sql.contribution';
import 'monaco-editor/esm/vs/basic-languages/markdown/markdown.contribution';
import 'monaco-editor/esm/vs/basic-languages/r/r.contribution';
import { cvEditorDarkTheme, cvEditorLightTheme } from './code-editor.theme';

@customElement('cv-code-editor')
export class CovalentCodeEditor extends LitElement {
Expand Down
3 changes: 0 additions & 3 deletions libs/components/src/notebook-cell/notebook-cell.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@ cv-code-editor {
}

.contextMenu {
background: white;
border: 1px solid #ccc;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
overflow: auto;
position: absolute;
visibility: hidden;
Expand Down
2 changes: 1 addition & 1 deletion libs/components/src/notebook-cell/notebook-cell.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Template = ({
<cv-typography scale="headline4" style="margin:1rem 0;">Create and Populate Tables</cv-typography>
<cv-typography scale="body1">Tables are created and populated using SQL</cv-typography>
</div>
<div slot="context-menu">
<div slot="context-menu" style="background-color: white;">
<cv-list activatable>
<cv-list-item>Cut</cv-list-item>
<cv-list-item>Copy</cv-list-item>
Expand Down

0 comments on commit 54e1aae

Please sign in to comment.