Skip to content

Commit c3257ac

Browse files
authored
fix: layout无背景色、swiper 分页器不居中 (#2371)
1 parent 3b2e45d commit c3257ac

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default {
22
navigationBarTitleText: 'Cell',
3-
}
3+
}

src/packages/indicator/indicator.harmony.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
width: auto;
55
flex-wrap: nowrap;
66
align-items: center;
7+
justify-content: center;
78
}
89
.nut-indicator-dot {
910
display: inline-block;

src/packages/indicator/indicator.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
width: auto;
55
flex-wrap: nowrap;
66
align-items: center;
7+
justify-content: center;
78

89
&-dot {
910
display: inline-block;

src/packages/layout/demos/taro/demo2.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react'
22
import { Col, Row } from '@nutui/nutui-react-taro'
33
import { View } from '@tarojs/components'
4+
import '../../demo.scss'
45

56
const Demo2 = () => {
67
return (

src/packages/layout/demos/taro/demo3.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react'
22
import { Col, Row } from '@nutui/nutui-react-taro'
33
import { View } from '@tarojs/components'
4+
import '../../demo.scss'
45

56
const Demo3 = () => {
67
return (

0 commit comments

Comments
 (0)