gristlabs_grist-core/app/client/components/CodeEditorPanel.css
Paul Fitzpatrick 37698f9cb5 (core) apply access control to code view
Summary:
Names of private tables and columns were leaking via Code View.
This plugs that leak.

Test Plan: adds test

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2840
2021-05-27 17:52:23 -04:00

24 lines
349 B
CSS

.g-code-panel {
position:absolute;
width: 100%;
height: 100%;
margin: 10px;
overflow: auto;
}
.g-code-viewer {
padding: 2rem 1rem;
font-family: monospace;
white-space: pre-wrap;
word-break: break-all;
word-wrap: break-word;
}
.g-code-viewer.hljs {
background-color: inherit;
}
.g-code-panel-denied {
text-align: center;
}