Skip to content

Commit

Permalink
fix: component style update (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
danranVm committed Feb 20, 2023
1 parent 8ca7a08 commit c07ef31
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/components/input/demo/Addon.vue
Expand Up @@ -3,13 +3,13 @@
<IxInput v-model:value="value" :addonBefore="addonBefore" :addonAfter="addonAfter" />
<IxInput v-model:value="value">
<template #addonBefore>
<IxSelect v-model:value="addonBefore" style="width: 80px">
<IxSelect v-model:value="addonBefore" style="width: 88px">
<IxSelectOption key="https" label="https://"></IxSelectOption>
<IxSelectOption key="http" label="http://"></IxSelectOption>
</IxSelect>
</template>
<template #addonAfter>
<IxSelect v-model:value="addonAfter" style="width: 60px">
<IxSelect v-model:value="addonAfter" style="width: 72px">
<IxSelectOption key="com" label=".com"></IxSelectOption>
<IxSelectOption key="cn" label=".cn"></IxSelectOption>
</IxSelect>
Expand Down
2 changes: 1 addition & 1 deletion packages/components/select/style/index.less
Expand Up @@ -35,7 +35,7 @@

&-option-group {
.reset-component();
.select-option(@select-option-font-size - 2px, @select-option-group-color);
.select-option(var(--ix-font-size-sm), @select-option-group-color);

display: block;
margin: @select-option-group-margin;
Expand Down
4 changes: 4 additions & 0 deletions packages/pro/table/style/index.less
Expand Up @@ -35,6 +35,10 @@
align-items: center;
justify-content: space-between;
height: @height-md;

.@{checkbox-prefix}-input {
margin: 0 4px;
}
}

&-tree {
Expand Down

0 comments on commit c07ef31

Please sign in to comment.