mirror of
https://github.com/Powerful-517/yys-editor.git
synced 2026-03-06 07:25:27 +00:00
fix(embed): adapt toolbar and canvas sizing inside modal
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="toolbar">
|
||||
<div class="toolbar" :class="{ 'toolbar--embed': props.isEmbed }">
|
||||
<div>
|
||||
<el-button icon="Upload" type="primary" @click="handleImport">{{ t('import') }}</el-button>
|
||||
<el-button icon="Download" type="primary" @click="handleExport">{{ t('export') }}</el-button>
|
||||
@@ -486,6 +486,13 @@ const handleClose = (done) => {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.toolbar--embed {
|
||||
position: relative;
|
||||
top: auto;
|
||||
left: auto;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.toolbar-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user