Add SVG icons for code and preview, implement sandbox functionality in interaction panel
- Added Code.svg and Preview.svg icons to the public/icons directory. - Refactored chat.tsx to remove duplicate import of observer from mobx-react-lite. - Enhanced interaction-panel.tsx to include a new Sandbox component with code and preview toggling functionality using Sandpack. - Updated styles.css to include custom styles for the new sandbox layout and file explorer. (add sandpack)
This commit is contained in:
committed by
Talgat The Random
parent
7f1b2b9a05
commit
3953cccd0f
@@ -158,4 +158,17 @@ input:focus {
|
||||
|
||||
.toast-progress-animation {
|
||||
animation: toast-progress 5s linear forwards;
|
||||
}
|
||||
|
||||
.custom-wrapper {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.custom-layout {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.custom-file-explorer .custom-file-explorer-list {
|
||||
height: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
Reference in New Issue
Block a user