From 54e1aae5f79badfa8a27898a96edc4100211f3d2 Mon Sep 17 00:00:00 2001 From: Sahitya Buddharaju Date: Tue, 13 Aug 2024 10:14:00 -0500 Subject: [PATCH] fix(styles): fix style lint errors --- libs/components/src/code-editor/code-editor.ts | 2 +- libs/components/src/notebook-cell/notebook-cell.scss | 3 --- libs/components/src/notebook-cell/notebook-cell.stories.js | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/libs/components/src/code-editor/code-editor.ts b/libs/components/src/code-editor/code-editor.ts index 343ddbd34..3c8ea64b3 100644 --- a/libs/components/src/code-editor/code-editor.ts +++ b/libs/components/src/code-editor/code-editor.ts @@ -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 -- @@ -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 { diff --git a/libs/components/src/notebook-cell/notebook-cell.scss b/libs/components/src/notebook-cell/notebook-cell.scss index 6f81e748a..b011eb3a0 100644 --- a/libs/components/src/notebook-cell/notebook-cell.scss +++ b/libs/components/src/notebook-cell/notebook-cell.scss @@ -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; diff --git a/libs/components/src/notebook-cell/notebook-cell.stories.js b/libs/components/src/notebook-cell/notebook-cell.stories.js index be9c4c66c..1b7de58c9 100644 --- a/libs/components/src/notebook-cell/notebook-cell.stories.js +++ b/libs/components/src/notebook-cell/notebook-cell.stories.js @@ -50,7 +50,7 @@ const Template = ({ Create and Populate Tables Tables are created and populated using SQL -
+
Cut Copy