Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: apply borderless view in dark mode (#3716)

Shahmir Varqhacca348983963
diff --git a/frontend/src/css/app/Cell.css b/frontend/src/css/app/Cell.css
index f36d800c57..da6b31b7f9 100644
--- a/frontend/src/css/app/Cell.css
+++ b/frontend/src/css/app/Cell.css
@@ -202,14 +202,7 @@
/* Borderless styles for Cell */
&.borderless {
- border-color: transparent;
- box-shadow: none;
-
- /* Apply the original styles */
- &:hover {
- border: 1px solid var(--gray-4);
- @apply shadow-smSolid shadow-shade;
- }
+ @apply borderless-common;
}
/* -------------------------- Shoulders/Buttons ---------------------------- */
@@ -233,8 +226,23 @@
@apply bg-background;
}
+.borderless-common {
+ border-color: transparent;
+ box-shadow: none;
+
+ /* Apply the original styles */
+ &:hover {
+ border: 1px solid var(--gray-4);
+ @apply shadow-smSolid shadow-shade;
+ }
+}
+
.dark .Cell {
@apply border-border;
+
+ &.borderless {
+ @apply borderless-common;
+ }
}
#App.disconnected {