30 lines
486 B
SCSS
30 lines
486 B
SCSS
:host {
|
|
display: block;
|
|
max-width: min(95%, 320px);
|
|
}
|
|
|
|
.json-viewer-shell {
|
|
width: min(95%, 480px);
|
|
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;
|
|
}
|