ionic-team / ionic-team/ionic-framework

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

Open
#21,037 1 comment 5 reactions 0 assignees View on GitHub
package: core type: bug
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

# 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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.