mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(playground): 新增页面默认width height 100%
This commit is contained in:
parent
30ad8502c4
commit
c3f4e41cc8
@ -16,4 +16,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export default {};
|
||||
export default {
|
||||
items: [],
|
||||
style: {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
},
|
||||
};
|
||||
|
@ -16,4 +16,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export default {};
|
||||
export default {
|
||||
items: [],
|
||||
style: {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
},
|
||||
};
|
||||
|
@ -19,7 +19,7 @@
|
||||
export default {
|
||||
items: [],
|
||||
style: {
|
||||
width: '375',
|
||||
height: '728',
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
},
|
||||
};
|
||||
|
@ -1,8 +1,11 @@
|
||||
#root {
|
||||
width: fit-content;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 0;
|
||||
|
||||
#app {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
@ -1,11 +1,19 @@
|
||||
#root {
|
||||
width: fit-content;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
|
||||
#app {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#app::-webkit-scrollbar {
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.magic-ui-container {
|
||||
background-color: rgba(136, 136, 136, 0.5);
|
||||
}
|
||||
|
@ -22,12 +22,15 @@ export default defineComponent({
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
width: fit-content;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 0;
|
||||
|
||||
#app {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
|
@ -133,6 +133,22 @@ export default Vue.extend({
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#app {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.magic-ui-container {
|
||||
background-color: rgba(136, 136, 136, 0.5);
|
||||
}
|
||||
|
@ -22,12 +22,15 @@ export default defineComponent({
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
width: fit-content;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 0;
|
||||
|
||||
#app {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
|
@ -110,6 +110,22 @@ export default defineComponent({
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#app {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.magic-ui-container {
|
||||
background-color: rgba(136, 136, 136, 0.5);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user