Skip to content

Commit

Permalink
style(comp: textarea): textarea with clearable icon set cursor pointer (
Browse files Browse the repository at this point in the history
#899)

style(comp:stepper): fix text vertical centered

style(comp:icon): set margin top to create a gap

style(pkg:site): make the menu width responsive

style(comp: textarea): update ix-textarea-suffix style

fix: prettier check
  • Loading branch information
hawtim committed May 11, 2022
1 parent 9ba3eca commit 1156214
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/components/icon/demo/All.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const onCopy = (evt: MouseEvent, name: string) => {
.icon-box {
position: relative;
overflow: hidden;
margin-top: 24px;
&-item {
position: relative;
Expand Down
6 changes: 3 additions & 3 deletions packages/components/stepper/style/size.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.@{stepper-item-prefix}-content {
min-height: @stepper-item-content-min-height-md;
}

.@{stepper-item-prefix}-tail {
left: @stepper-item-spacing-md;
padding: @stepper-item-icon-size-md + 4px 0 4px;
Expand All @@ -15,7 +15,7 @@
.@{stepper-item-prefix}-icon {
width: @stepper-item-icon-size-md;
height: @stepper-item-icon-size-md;
line-height: @stepper-item-icon-size-md;
line-height: @stepper-item-icon-size-md - 2px;
border-radius: @stepper-item-icon-size-md;
font-size: @stepper-item-icon-font-size-md;
margin: @stepper-item-icon-margin-md;
Expand Down Expand Up @@ -59,7 +59,7 @@
.@{stepper-item-prefix}-icon {
width: @stepper-item-icon-size-sm;
height: @stepper-item-icon-size-sm;
line-height: @stepper-item-icon-size-sm;
line-height: @stepper-item-icon-size-sm - 2px;
border-radius: @stepper-item-icon-size-sm;
font-size: @stepper-item-icon-font-size-sm;
margin: @stepper-item-icon-margin-sm;
Expand Down
1 change: 1 addition & 0 deletions packages/components/textarea/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
position: absolute;
color: @textarea-placeholder-color;
transition: color @transition-duration-base;
cursor: pointer;

&:hover {
color: @textarea-color-secondary;
Expand Down
2 changes: 1 addition & 1 deletion packages/site/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div v-if="page !== 'home'" class="main-wrapper">
<IxRow>
<IxCol xs="0" sm="7" md="6" lg="5" xl="4" class="main-menu">
<IxAffix v-if="!breakpoints.xs">
<IxAffix v-if="!breakpoints.xs" style="width: unset">
<LayoutSider class="side-nav"></LayoutSider>
</IxAffix>
<IxDropdown v-else>
Expand Down

0 comments on commit 1156214

Please sign in to comment.