Skip to content

Commit

Permalink
fix: 修复tab组件的图标默认字体过小的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
三少 committed Dec 13, 2021
1 parent 8622dd3 commit f3686b6
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 10 deletions.
4 changes: 0 additions & 4 deletions packages/vantui/src/calendar/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@
left: 0;
.theme(font-size, '@calendar-info-font-size');
.theme(line-height, '@calendar-info-line-height');

@media (max-width: 350px) {
font-size: 9px;
}
}

&__top-info {
Expand Down
2 changes: 1 addition & 1 deletion packages/vantui/src/circle/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
position: relative;
display: inline-block;
text-align: center;
font-size: 16px;
font-size: @circle-font-color;

&__text {
position: absolute;
Expand Down
4 changes: 0 additions & 4 deletions packages/vantui/src/goods-action-button/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,4 @@
width: 100%;
.theme(font-weight, '@font-weight-bold') !important;
}

@media (max-width: 642px) {
font-size: 26px;
}
}
2 changes: 1 addition & 1 deletion packages/vantui/src/grid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function Grid(props: GridProps) {
center = true,
border = true,
direction,
iconSize = '28',
iconSize = '48',
square,
reverse = false,
className = '',
Expand Down
1 change: 1 addition & 0 deletions packages/vantui/src/style/var.less
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@

// Circle
@circle-text-color: @text-color;
@circle-font-color: 28px;

// Collapse
@collapse-item-transition-duration: 0.3s;
Expand Down

0 comments on commit f3686b6

Please sign in to comment.