-
-
+
+
-
diff --git a/src/components/api-info-component/ApiInfoComponent.css b/src/components/api-info-component/ApiInfoComponent.css
index e69de29..f281e96 100644
--- a/src/components/api-info-component/ApiInfoComponent.css
+++ b/src/components/api-info-component/ApiInfoComponent.css
@@ -0,0 +1,29 @@
+.Info__body {
+ height: 100%;
+ display: flex;
+}
+.Info__container {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+
+}
+.Info__title {
+ text-align: center;
+}
+.Info__sidebar {
+ width: 30%;
+}
+.Info__editor {
+ border: 1px solid #F2F2F2;
+ text-align: left;
+ width: 100%;
+}
+.Info__controls {
+ position: absolute;
+ right: 10px;
+ top: 15px;
+ font-size: 20px;
+}
\ No newline at end of file
diff --git a/src/components/api-info-component/ApiInfoComponent.js b/src/components/api-info-component/ApiInfoComponent.js
index f1b95a1..964f6a0 100644
--- a/src/components/api-info-component/ApiInfoComponent.js
+++ b/src/components/api-info-component/ApiInfoComponent.js
@@ -19,7 +19,7 @@ class ApiInfoComponent extends Component {
if (this.object) {
this.infoTitle.textContent = this.object.key ;
this.infoSidebar.textContent = this.object.description;
- this.infoEditor.textContent = this.object.value;
+ this.infoEditor.innerHTML = JSON.stringify(this.object.value);
this.infoFooter.textContent = this.object.author;
}
diff --git a/src/components/test-modal/TestModal.css b/src/components/test-modal/TestModal.css
index 0ea0cd0..450a43f 100644
--- a/src/components/test-modal/TestModal.css
+++ b/src/components/test-modal/TestModal.css
@@ -24,8 +24,11 @@
}
.TestModal__window {
+ position: relative;
width: 80vw;
height: 80vh;
background-color: white;
+ border: 1px solid #F7F7F7;
+ border-radius: 5px;
z-index: 5;
}
\ No newline at end of file