Skip to content

Commit

Permalink
regression in testing w/ vscode haxtheweb/issues#2034
Browse files Browse the repository at this point in the history
  • Loading branch information
btopro committed Jul 15, 2024
1 parent 87dd273 commit 506a822
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion elements/hax-body/lib/hax-tray.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ class HaxTray extends I18NMixin(
}
:host([tray-detail="view-source"]) .detail {
width: 50vw;
height: 50vh;
min-height: 300px;
min-width: calc(var(--hax-tray-width) - 100px);
resize: both;
Expand Down
6 changes: 5 additions & 1 deletion elements/hax-body/lib/hax-view-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ class HaxViewSource extends I18NMixin(MtzFileDownloadBehaviors(LitElement)) {
return [
...HaxComponentStyles,
css`
:host,
:host {
display: block;
height: calc(100vh - 120px);
}
#wrapper {
margin: 0;
padding: 0;
Expand All @@ -41,6 +44,7 @@ class HaxViewSource extends I18NMixin(MtzFileDownloadBehaviors(LitElement)) {
bottom: 0;
margin: 0;
padding: 0;
height: calc(100vh - 200px);
}
.updatecontent {
background-color: var(--simple-colors-default-theme-green-1);
Expand Down

0 comments on commit 506a822

Please sign in to comment.