Skip to content

Commit

Permalink
Move some css from Quarto extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Sep 21, 2022
1 parent 63cfd49 commit 7a31ad0
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/Components/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,41 @@ button:disabled {
cursor: default;
background-color: #c8c8c8;
}

/* The following pertain to case where the shinylive-container is in editor-cell
mode. It doesn't fit exactly into this file, but this seems to be the best place
for it. */

.shinylive-container.editor-cell {
padding: 0;
}

.shinylive-container.editor-cell .shinylive-editor {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}

.shinylive-container.editor-cell .shinylive-output-cell {
border-top: 2px solid #eeeff2;
border-top-right-radius: 0;
border-top-left-radius: 0;
}

.shinylive-container.editor-cell .shinylive-output-cell .rendered-html {
padding: 2px 12px 3px 12px;
}

.shinylive-container.editor-cell .shinylive-output-cell pre.output-content {
border-top-right-radius: 0;
border-top-left-radius: 0;
background-color: #eeeff2;
font-size: 13px;
line-height: 1.8;
padding: 2px 12px 5px 12px;
margin-bottom: 0;
color: #666;
}

.shinylive-container.editor-cell .editor-container {
padding: 12px 12px 4px 12px;
}

0 comments on commit 7a31ad0

Please sign in to comment.