diff --git a/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue b/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue index 8cd6e670f2..1b8ae9ae1d 100644 --- a/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue +++ b/core/core-frontend/src/components/visualization/component-background/BackgroundOverallCommon.vue @@ -21,13 +21,26 @@ class="form-item w100" :class="'form-item-' + themes" > - +
+ {{ + t('visualization.inner_padding_shorthand_mode') + }} + + + +
@@ -575,13 +588,13 @@ watch( align-items: center; } -.ed-select-dropdown__item { +.board-select .ed-select-dropdown__item { height: 100px !important; text-align: center; padding: 0px 5px; } -.ed-select-dropdown__item.selected::after { +.board-select .ed-select-dropdown__item.selected::after { display: none; } diff --git a/core/core-frontend/src/custom-component/component-list.ts b/core/core-frontend/src/custom-component/component-list.ts index f89d035caf..4c77729b4f 100644 --- a/core/core-frontend/src/custom-component/component-list.ts +++ b/core/core-frontend/src/custom-component/component-list.ts @@ -3,7 +3,10 @@ import { deepCopy } from '@/utils/utils' import { guid } from '@/views/visualized/data/dataset/form/util' import { getViewConfig } from '@/views/chart/components/editor/util/chart' import { useI18n } from '@/hooks/web/useI18n' -import { CommonBackground, ShorthandMode } from '@/components/visualization/component-background/Types' +import { + CommonBackground, + ShorthandMode +} from '@/components/visualization/component-background/Types' const { t } = useI18n() export const commonStyle = { diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index 5dc8095a94..102bf230b3 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -3385,6 +3385,7 @@ export default { stream_mobile_tips: 'May not be displayed on IOS devices', json_params_error: 'Failed to parse third-party parameters. Please check the parameter format.', inner_padding: 'Inner Padding', + inner_padding_shorthand_mode: 'Mode', inner_padding_shorthand_mode_uniform: 'Uniform', inner_padding_shorthand_mode_axis: 'Axis', inner_padding_shorthand_mode_per_edge: 'Per Edge', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index 5b2f3da3e6..3dade87262 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -3289,6 +3289,7 @@ export default { stream_mobile_tips: 'IOS終端可能無法顯示', json_params_error: '第三方參數解析失敗,請檢查參數格式是否正確', inner_padding: '內邊距', + inner_padding_shorthand_mode: '模式', inner_padding_shorthand_mode_uniform: '統一值', inner_padding_shorthand_mode_axis: '軸向', inner_padding_shorthand_mode_per_edge: '逐邊', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index d702429cf5..7e84d9d4bc 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -3298,6 +3298,7 @@ export default { stream_mobile_tips: 'IOS终端可能无法显示', json_params_error: '第三方参数解析失败,请检查参数格式是否正确', inner_padding: '内边距', + inner_padding_shorthand_mode: '模式', inner_padding_shorthand_mode_uniform: '统一值', inner_padding_shorthand_mode_axis: '轴向', inner_padding_shorthand_mode_per_edge: '逐边',