ionic-team / ionic-team/ionic-framework

bug: ion-segment (iOS) not centered like title with ion-buttons

未关闭
#21,037 1 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
package: core type: bug
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

# Bug Report

**Ionic version:**

[x] **5.0.7**

**Current behavior:**

Ion-segment (at least iOS version) is getting pushed and is not centered with ion-buttons.

**Expected behavior:**

Should be centered.

![help](https://user-images.githubusercontent.com/20550508/79245649-a9e8c100-7e78-11ea-8ed9-69c25b14b00c.png)

The dark header is from iTunes app (in Dark Mode)

**Steps to reproduce:**

**Related code:**

```




Genres




One


Two







```

**Other information:**

**Ionic info:**

```
Ionic CLI : 6.5.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.0.7
@angular-devkit/build-angular : 0.901.1
@angular-devkit/schematics : 9.1.1
@angular/cli : 9.1.1
@ionic/angular-toolkit : 2.2.0

Capacitor:

Capacitor CLI : 2.0.1
@capacitor/core : 2.0.1

Utility:

cordova-res (update available: 0.11.0) : 0.6.0
native-run (update available: 1.0.0) : 0.2.8

System:

NodeJS : v12.7.0 (/usr/local/Cellar/node/12.7.0/bin/node)
npm : 6.14.4
OS : macOS Catalina
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。