Browse Source

fix: component styles

nc-feat/extensions
mertmit 8 months ago
parent
commit
d4790d867a
  1. 4
      packages/nc-gui/components/extensions/Extension.vue
  2. 26
      packages/nc-gui/components/extensions/Wrapper.vue

4
packages/nc-gui/components/extensions/Extension.vue

@ -167,7 +167,7 @@ onMounted(() => {
</div>
</template>
<style lang="scss">
<style scoped lang="scss">
.extension-wrapper {
@apply bg-white rounded-lg p-2 w-full border-1;
}
@ -192,7 +192,7 @@ onMounted(() => {
@apply border-1 m-2 p-2 rounded-lg;
}
.extension-fullscreen .nc-modal {
:global(.extension-fullscreen .nc-modal) {
@apply p-0;
}
</style>

26
packages/nc-gui/components/extensions/Wrapper.vue

@ -15,28 +15,4 @@ const { extensionId } = defineProps<Prop>()
</NuxtErrorBoundary>
</template>
<style lang="scss">
.extension-wrapper {
@apply bg-white rounded-lg p-2 w-full border-1;
}
.extension-header {
@apply flex justify-between;
.extension-header-left {
@apply flex items-center gap-2;
}
.extension-header-right {
@apply flex items-center gap-4;
}
.extension-title {
@apply font-weight-600;
}
}
.extension-content {
@apply border-1 m-2 p-2 rounded-lg;
}
</style>
<style scoped lang="scss"></style>

Loading…
Cancel
Save