diff options
Diffstat (limited to 'packages/excalidraw/components/PasteChartDialog.scss')
| -rw-r--r-- | packages/excalidraw/components/PasteChartDialog.scss | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/excalidraw/components/PasteChartDialog.scss b/packages/excalidraw/components/PasteChartDialog.scss new file mode 100644 index 0000000..855b4ad --- /dev/null +++ b/packages/excalidraw/components/PasteChartDialog.scss @@ -0,0 +1,46 @@ +@import "../css/variables.module.scss"; + +.excalidraw { + .PasteChartDialog { + @include isMobile { + .Island { + display: flex; + flex-direction: column; + } + } + .container { + display: flex; + align-items: center; + justify-content: space-around; + flex-wrap: wrap; + @include isMobile { + flex-direction: column; + justify-content: center; + } + } + .ChartPreview { + margin: 8px; + text-align: center; + width: 192px; + height: 128px; + border-radius: 2px; + padding: 1px; + border: 1px solid $oc-gray-4; + display: flex; + align-items: center; + justify-content: center; + background: transparent; + div { + display: inline-block; + } + svg { + max-height: 120px; + max-width: 186px; + } + &:hover { + padding: 0; + border: 2px solid $oc-blue-5; + } + } + } +} |
