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.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export default {};
|
export default {
|
||||||
|
items: [],
|
||||||
|
style: {
|
||||||
|
width: '100%',
|
||||||
|
height: '100%',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
@ -16,4 +16,10 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export default {};
|
export default {
|
||||||
|
items: [],
|
||||||
|
style: {
|
||||||
|
width: '100%',
|
||||||
|
height: '100%',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
export default {
|
export default {
|
||||||
items: [],
|
items: [],
|
||||||
style: {
|
style: {
|
||||||
width: '375',
|
width: '100%',
|
||||||
height: '728',
|
height: '100%',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
#root {
|
html,
|
||||||
width: fit-content;
|
body,
|
||||||
|
#app {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#app {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0 auto;
|
overflow: auto;
|
||||||
}
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 0;
|
|
||||||
}
|
}
|
@ -1,11 +1,19 @@
|
|||||||
#root {
|
html,
|
||||||
width: fit-content;
|
body,
|
||||||
position: relative;
|
#app {
|
||||||
margin: 0 auto;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
::-webkit-scrollbar {
|
|
||||||
|
#app {
|
||||||
|
position: relative;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#app::-webkit-scrollbar {
|
||||||
width: 0;
|
width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.magic-ui-container {
|
.magic-ui-container {
|
||||||
background-color: rgba(136, 136, 136, 0.5);
|
background-color: rgba(136, 136, 136, 0.5);
|
||||||
}
|
}
|
||||||
|
@ -22,12 +22,15 @@ export default defineComponent({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
html,
|
||||||
|
body,
|
||||||
#app {
|
#app {
|
||||||
width: fit-content;
|
width: 100%;
|
||||||
position: relative;
|
height: 100%;
|
||||||
margin: 0 auto;
|
|
||||||
}
|
}
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 0;
|
#app {
|
||||||
|
position: relative;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -133,6 +133,22 @@ export default Vue.extend({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
html,
|
||||||
|
body,
|
||||||
|
#app {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#app {
|
||||||
|
position: relative;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
width: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.magic-ui-container {
|
.magic-ui-container {
|
||||||
background-color: rgba(136, 136, 136, 0.5);
|
background-color: rgba(136, 136, 136, 0.5);
|
||||||
}
|
}
|
||||||
|
@ -22,12 +22,15 @@ export default defineComponent({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
html,
|
||||||
|
body,
|
||||||
#app {
|
#app {
|
||||||
width: fit-content;
|
width: 100%;
|
||||||
position: relative;
|
height: 100%;
|
||||||
margin: 0 auto;
|
|
||||||
}
|
}
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 0;
|
#app {
|
||||||
|
position: relative;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -110,6 +110,22 @@ export default defineComponent({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
html,
|
||||||
|
body,
|
||||||
|
#app {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#app {
|
||||||
|
position: relative;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
width: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.magic-ui-container {
|
.magic-ui-container {
|
||||||
background-color: rgba(136, 136, 136, 0.5);
|
background-color: rgba(136, 136, 136, 0.5);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user