Skip to content

Commit

Permalink
fix:modify style
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjuncao committed Dec 31, 2024
1 parent 88986b6 commit 8e2b329
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/common/component/PluginSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ export default {
.plugin-setting-header-title {
font-size: 12px;
font-weight: 700;
margin-right: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
:deep(.svg-button + .svg-button) {
margin: 0;
Expand Down
10 changes: 10 additions & 0 deletions packages/plugins/materials/src/meta/block/src/BlockGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ export default {
border-bottom: 1px solid var(--ti-lowcode-materials-block-group-item-border-color);
:deep(.tiny-input__inner) {
border-color: transparent;
width: 180px;
}
}
.confirm-btns {
Expand All @@ -438,6 +439,9 @@ export default {
:deep(svg) {
color: var(--ti-lowcode-component-svg-button-color);
}
:deep(.tiny-button) {
padding: 0 2px;
}
}
&.show-underline {
border-bottom: 1px solid var(--ti-lowcode-materials-block-group-item-border-color);
Expand All @@ -455,6 +459,12 @@ export default {
.option-right {
display: none;
}
.option-label {
width: 180px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.tiny-form .tiny-form-item.edit-form-item {
margin-bottom: 0;
Expand Down
7 changes: 5 additions & 2 deletions packages/theme/base/src/component-common.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
font-size: var(--te-base-font-size-1);
color: var(--te-common-text-weaken);
}
.tiny-input__inner {
padding-right: 30px;
}
}
.tiny-select__tags {
.tiny-tag {
Expand Down Expand Up @@ -498,7 +501,7 @@
}
&.is-controls-right {
.tiny-numeric__input-inner {
padding: 0 42px 0 12px;
padding: 0 20px 0 12px;
}
//加减按钮
.tiny-numeric__decrease,
Expand All @@ -519,7 +522,7 @@
background-color: var(--te-common-bg-default);
border-color: var(--te-common-border-default);
&.has-unit .tiny-numeric__input-inner {
padding: 0 42px 0 12px;
padding: 0 20px 0 12px;
}
}
.tiny-numeric__unit {
Expand Down

0 comments on commit 8e2b329

Please sign in to comment.