1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/ui-components/error-boundary/src/error-boundary.scss
Gabriel 7dff8e31a6 chore: extract error-boundary
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-26 14:03:30 +02:00

35 lines
701 B
SCSS

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
.ErrorBoundary {
--flex-gap: #{8px * 2};
padding: var(--flex-gap);
word-break: break-all;
.wrapper {
display: grid;
grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
column-gap: 12px;
row-gap: 12px;
@media screen and (max-width: 900px) {
grid-template-columns: auto;
}
}
code {
max-height: none;
border: 5px solid var(--borderFaintColor);
white-space: pre-wrap;
background: var(--contentColor);
color: var(--textColorSecondary);
}
a {
color: var(--colorInfo);
}
}