diff options
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.scss')
-rw-r--r-- | src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.scss | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.scss b/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.scss index 277ca8238..082ebb7dc 100644 --- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.scss +++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/DocCreatorMenu.scss @@ -304,7 +304,7 @@ display: flex; flex-direction: column; justify-content: flex-start; - height: 100%; + height: fit-content; position: absolute; right: 0px; top: 0px; @@ -376,16 +376,11 @@ .docCreatorMenu-preview-image{ background-color: transparent; - height: 100px; - width: 100px; + height: 100%; display: block; object-fit: contain; border-radius: 5px; - &.expanded { - height: 100%; - width: 100%; - } } .docCreatorMenu-variation-prompt-input { @@ -431,31 +426,23 @@ flex-direction: row; justify-content: center; align-items: center; - position: relative; - width: auto; + position: absolute; + width: 100%; + bottom: 0px; margin: 0px; + margin-bottom: 10px; margin-top: 5px; padding: 0px; } .docCreatorMenu-templates-preview-window { - display: flex; - flex-direction: row; - justify-content: flex-start; - align-items: center; - overflow-y: scroll; - gap: 10px; + display: grid; + justify-content: space-evenly; + grid-template-columns: repeat(auto-fill, minmax(225px, 30%)); + gap: 1rem; margin: 5px; - position: relative; - color: black; - height: 100%; width: calc(100% - 10px); - -ms-overflow-style: none; - scrollbar-width: none; - - .loading-spinner { - justify-self: center; - } + padding-bottom: 40px; } .divvv{ @@ -468,6 +455,7 @@ position: relative; display: flex; flex-direction: row; + color: whitesmoke; width: 100%; } |