Skip to content

Commit

Permalink
[3d] refactor code (#2326)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtydhr88 authored Jan 23, 2025
1 parent 0ab1d97 commit b54e270
Show file tree
Hide file tree
Showing 4 changed files with 1,135 additions and 1,122 deletions.
22 changes: 22 additions & 0 deletions src/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,28 @@ audio.comfy-audio.empty-audio-widget {
padding: var(--comfy-tree-explorer-item-padding) !important;
}

/* Load3d styles */
.comfy-load-3d,
.comfy-load-3d-animation,
.comfy-preview-3d {
display: flex;
flex-direction: column;
background: transparent;
flex: 1;
position: relative;
overflow: hidden;
}

.comfy-load-3d canvas,
.comfy-load-3d-animation canvas,
.comfy-preview-3d canvas {
display: flex;
width: 100% !important;
height: 100% !important;
}

/* End of Load3d styles */

/* [Desktop] Electron window specific styles */
.app-drag {
app-region: drag;
Expand Down
Loading

0 comments on commit b54e270

Please sign in to comment.