Browse Source

fix: component styles

nc-feat/extensions
mertmit 7 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> </div>
</template> </template>
<style lang="scss"> <style scoped lang="scss">
.extension-wrapper { .extension-wrapper {
@apply bg-white rounded-lg p-2 w-full border-1; @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; @apply border-1 m-2 p-2 rounded-lg;
} }
.extension-fullscreen .nc-modal { :global(.extension-fullscreen .nc-modal) {
@apply p-0; @apply p-0;
} }
</style> </style>

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

@ -15,28 +15,4 @@ const { extensionId } = defineProps<Prop>()
</NuxtErrorBoundary> </NuxtErrorBoundary>
</template> </template>
<style lang="scss"> <style scoped lang="scss"></style>
.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>

Loading…
Cancel
Save