json viewer
This commit is contained in:
31
client/src/app/json-file-viewer.component.scss
Normal file
31
client/src/app/json-file-viewer.component.scss
Normal file
@@ -0,0 +1,31 @@
|
||||
:host {
|
||||
display: block;
|
||||
max-width: 95%;
|
||||
}
|
||||
|
||||
.json-viewer-shell {
|
||||
width: 95%;
|
||||
max-width: 95%;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
border-radius: 0.9rem;
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.json-viewer-host {
|
||||
max-height: 18rem;
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
overflow-y: auto;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.json-viewer-error {
|
||||
padding: 0 0.75rem 0.75rem;
|
||||
color: inherit;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
:host ::ng-deep .json-viewer-host .json-container {
|
||||
min-width: max-content;
|
||||
}
|
||||
Reference in New Issue
Block a user