@sigmaott/base-next 1.4.4 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/nuxt.config.ts CHANGED
@@ -130,14 +130,10 @@ export default defineNuxtConfig({
130
130
  },
131
131
  ],
132
132
  },
133
- elementPlus: {
134
- importStyle: false,
135
- },
136
133
  vite: {
137
134
  css: {
138
135
  preprocessorOptions: {
139
136
  scss: {
140
-
141
137
  additionalData: `@use "${resolve('./src/assets/scss/element/index.scss')}" as element;`,
142
138
  },
143
139
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sigmaott/base-next",
3
3
  "type": "module",
4
- "version": "1.4.4",
4
+ "version": "1.4.6",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,11 +30,11 @@ const timeRange = computed(() => {
30
30
  <template>
31
31
  <div class="h-full">
32
32
  <div
33
- class="mb-2 w-full flex flex-1 gap-2"
33
+ class="mb-2 min-h-550px w-full flex flex-1 gap-2"
34
34
  :style="{ height: `calc(100% - ${(heightGuideline + 10) > 220 ? 220 : heightGuideline + 10}px)` }"
35
35
  >
36
36
  <!-- Main Content Card -->
37
- <el-card class="w-full [&_.el-card\_\_header]:py-1" body-class="p-2 h-full">
37
+ <el-card class="w-full [&_.el-card\_\_header]:py-1" body-class="p-2 h-full ">
38
38
  <!-- Common Header -->
39
39
  <template #header>
40
40
  <div class="w-full flex flex-wrap items-center justify-between">
@@ -53,7 +53,7 @@ const timeRange = computed(() => {
53
53
  </template>
54
54
 
55
55
  <!-- Main Content Area -->
56
- <div class="h-[calc(100%)] min-h-230px overflow-y-auto">
56
+ <div class="h-[calc(100%)] min-h-230px">
57
57
  <!-- Default slot for main content -->
58
58
  <slot />
59
59
  <div ref="elInfo">
@@ -20,7 +20,7 @@ defineProps<{
20
20
  </script>
21
21
 
22
22
  <template>
23
- <el-card class="w-350px 2xl:w-400px [&_.el-card\_\_header]:py-1.5">
23
+ <el-card class="w-350px 2xl:w-400px [&_.el-card\_\_header]:py-1.5" body-class="h-full pb-15">
24
24
  <template #header>
25
25
  <div class="flex items-center justify-between">
26
26
  <div class="text-lg font-bold">
@@ -33,8 +33,7 @@ defineProps<{
33
33
  </div>
34
34
  </div>
35
35
  </template>
36
-
37
- <ul class="cursor-pointer list-disc list-inside text-sm text-primary text-primary font-semibold 2xl:text-base">
36
+ <ul class="h-full cursor-pointer list-disc list-inside overflow-y-auto text-sm text-primary text-primary font-semibold 2xl:text-base">
38
37
  <li v-for="(item, index) in data" :key="index" class="text-pretty">
39
38
  <a :href="item.url" target="_blank">
40
39
  {{ item.title }}