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 css selector for border-radius cell (#7245)

Shahmir Varqha900c0434eb78
diff --git a/frontend/src/css/app/Cell.css b/frontend/src/css/app/Cell.css
index 0968e0b0f3..663766b56b 100644
--- a/frontend/src/css/app/Cell.css
+++ b/frontend/src/css/app/Cell.css
@@ -360,11 +360,14 @@
z-index: 1;
/* Round the top of the code editor unless there is output above or the AI prompt input is open */
- &:has([data-has-output-above="false"]):has([data-ai-input-open="false"])
- .cm-editor {
+ &[data-has-output-above="false"] .cm-editor {
border-top-left-radius: 9px;
border-top-right-radius: 9px;
}
+ div[data-ai-input-open="true"] .cm-editor {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+ }
&:last-child .cm-editor {
border-bottom-left-radius: 9px;