UI Cleanup
This commit is contained in:
parent
aa2ac90381
commit
25770db64e
4 changed files with 8 additions and 4 deletions
|
|
@ -6,7 +6,8 @@ import { defaultBorderRadius, vscBackground } from ".";
|
|||
import { Clipboard } from "@styled-icons/heroicons-outline";
|
||||
|
||||
const StyledPre = styled.pre`
|
||||
overflow: scroll;
|
||||
overflow-y: scroll;
|
||||
word-wrap: normal;
|
||||
border: 1px solid gray;
|
||||
border-radius: ${defaultBorderRadius};
|
||||
background-color: ${vscBackground};
|
||||
|
|
|
|||
|
|
@ -36,7 +36,8 @@ const GradientContainer = styled.div`
|
|||
const MainDiv = styled.div`
|
||||
height: 100%;
|
||||
border-radius: ${defaultBorderRadius};
|
||||
overflow: scroll;
|
||||
overflow-y: scroll;
|
||||
scrollbar-gutter: stable both-edges;
|
||||
scrollbar-base-color: transparent;
|
||||
/* background: ${vscBackground}; */
|
||||
background-color: #1e1e1ede;
|
||||
|
|
@ -107,6 +108,7 @@ function DebugPanel(props: DebugPanelProps) {
|
|||
className={
|
||||
tab.title === "Chat" ? "overflow-hidden" : "overflow-scroll"
|
||||
}
|
||||
style={{ scrollbarGutter: "stable both-edges" }}
|
||||
>
|
||||
{tab.element}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
html,
|
||||
body,
|
||||
#root {
|
||||
height: calc(100% - 7px);
|
||||
height: calc(100%);
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,8 @@ const Container = styled.div`
|
|||
margin: 3px;
|
||||
width: fit-content;
|
||||
max-width: 75%;
|
||||
overflow: scroll;
|
||||
overflow-y: scroll;
|
||||
scrollbar-gutter: stable both-edges;
|
||||
word-wrap: break-word;
|
||||
-ms-word-wrap: break-word;
|
||||
height: fit-content;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue