Skip to content

Commit 7a31ad0

Browse files
committed
Move some css from Quarto extension
1 parent 63cfd49 commit 7a31ad0

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

src/Components/App.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,41 @@ button:disabled {
7777
cursor: default;
7878
background-color: #c8c8c8;
7979
}
80+
81+
/* The following pertain to case where the shinylive-container is in editor-cell
82+
mode. It doesn't fit exactly into this file, but this seems to be the best place
83+
for it. */
84+
85+
.shinylive-container.editor-cell {
86+
padding: 0;
87+
}
88+
89+
.shinylive-container.editor-cell .shinylive-editor {
90+
border-bottom-right-radius: 0;
91+
border-bottom-left-radius: 0;
92+
}
93+
94+
.shinylive-container.editor-cell .shinylive-output-cell {
95+
border-top: 2px solid #eeeff2;
96+
border-top-right-radius: 0;
97+
border-top-left-radius: 0;
98+
}
99+
100+
.shinylive-container.editor-cell .shinylive-output-cell .rendered-html {
101+
padding: 2px 12px 3px 12px;
102+
}
103+
104+
.shinylive-container.editor-cell .shinylive-output-cell pre.output-content {
105+
border-top-right-radius: 0;
106+
border-top-left-radius: 0;
107+
background-color: #eeeff2;
108+
font-size: 13px;
109+
line-height: 1.8;
110+
padding: 2px 12px 5px 12px;
111+
margin-bottom: 0;
112+
color: #666;
113+
}
114+
115+
.shinylive-container.editor-cell .editor-container {
116+
padding: 12px 12px 4px 12px;
117+
}

0 commit comments

Comments
 (0)