Skip to content

Commit 29e6242

Browse files
committed
fix(toolbar): add border-top when toolbar is positioned to the bottom
fixes #5967
1 parent cd62a4c commit 29e6242

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

ionic/components/toolbar/toolbar.ios.scss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ion-navbar-section {
4242

4343
.toolbar-background {
4444
border-bottom-width: 1px;
45-
border-bottom-style: solid;
45+
border-style: solid;
4646
border-color: $toolbar-ios-border-color;
4747
background: $toolbar-ios-background;
4848
}
@@ -51,6 +51,15 @@ ion-navbar-section {
5151
border-bottom-width: $hairlines-width;
5252
}
5353

54+
.toolbar[position=bottom] .toolbar-background {
55+
border-bottom-width: 0;
56+
border-top-width: 1px;
57+
}
58+
59+
&.hairlines .toolbar[position=bottom] .toolbar-background {
60+
border-top-width: $hairlines-width;
61+
}
62+
5463

5564
// iOS Toolbar Content
5665
// --------------------------------------------------

0 commit comments

Comments
 (0)