Skip to content

Commit

Permalink
Merge pull request #11 from helxplatform/feature/embeddable-iframe
Browse files Browse the repository at this point in the history
Feature/embeddable iframe
  • Loading branch information
frostyfan109 authored Nov 11, 2021
2 parents 4fd04ef + 821e596 commit 9b02786
Show file tree
Hide file tree
Showing 5 changed files with 350 additions and 72 deletions.
1 change: 1 addition & 0 deletions src/tranql/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"file-saver": "^2.0.2",
"filepond": "^4.29.1",
"filepond-plugin-file-validate-type": "^1.2.4",
"gamma-viewer-web": "^0.1.1",
"js-yaml": "^3.13.1",
"json5": "^2.2.0",
"jsonpath": "^1.0.2",
Expand Down
23 changes: 23 additions & 0 deletions src/tranql/web/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,29 @@ body {
left:-1.25px;
background-color:rgb(215,215,215);
}

/* Embedded style rules */
.App.embedded .react-codemirror2 {
border: 2px solid #f0f0f0;
}
.App.embedded .CodeMirror {
padding: 0;
height: 100% !important;
}
.App.embedded .CodeMirror-scroll {
height: 100% !important;
max-height: 30vh;
}

/* Gamma Viewer rules */
body.modal-open > *[role="tooltip"] {
/* This is attached to the MuiPaper popup/tooltips used in the answer viewer for filtering.
* Since the Gamma Viewer can appear in a Bootstrap modal, and these popups are positioned absolutely relative to the root,
* we need to bump up the z-index to ensure they appear above the modal.
*/
z-index: 2000 !important;
}

@-ms-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-o-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
Expand Down
Loading

0 comments on commit 9b02786

Please sign in to comment.