vue2-client 1.16.46 → 1.16.47

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.
@@ -60,10 +60,8 @@ const wrapperClassObject = computed(() => {
60
60
  booleanStyleKeys.forEach(key => {
61
61
  const val = attrs[key]
62
62
  const truthy = val === true || val === '' || val === 'true'
63
- if (truthy) classes[`xtitle-${key}`] = true
63
+ if (truthy) classes[`x-title-${key}`] = true
64
64
  })
65
- const size = attrs.size
66
- if (size && typeof size === 'string') classes[`xtitle-size-${size}`] = true
67
65
  return classes
68
66
  })
69
67
 
@@ -138,10 +136,19 @@ onMounted(() => {
138
136
  text-align: right;
139
137
  }
140
138
  .x-title-center {
141
- text-align: center
139
+ &.x-title-container,
140
+ .x-title-container {
141
+ :deep(.x-title) {
142
+ text-align: center;
143
+ }
144
+ }
142
145
  }
143
146
  .x-title-littlefont {
144
- font-size: 16px
147
+ &.x-title-container,
148
+ .x-title-container {
149
+ :deep(.x-title) {
150
+ font-size: 16px;
151
+ }
152
+ }
145
153
  }
146
-
147
154
  </style>