Working on adding a workspace/ sidebar view
This commit is contained in:
30
src/components/Workspace/WebContent.vue
Normal file
30
src/components/Workspace/WebContent.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="web-content">
|
||||
<iframe :src="url" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'WebContent',
|
||||
props: {
|
||||
url: String,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import '@/styles/media-queries.scss';
|
||||
@import '@/styles/style-helpers.scss';
|
||||
|
||||
iframe {
|
||||
position: absolute;
|
||||
left: 3rem;
|
||||
height: calc(100% - 6.3rem);
|
||||
width: calc(100% - 3rem);
|
||||
border: none;
|
||||
background: white;
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user