carbon-react 111.4.1 → 111.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -74,10 +74,11 @@ const StyledButtonChildrenContainer = styled.div`
|
|
|
74
74
|
text-align: ${align};
|
|
75
75
|
z-index: ${theme.zIndex.overlay};
|
|
76
76
|
|
|
77
|
-
/* Styling for Safari.
|
|
77
|
+
/* Styling for Safari. */
|
|
78
78
|
@media not all and (min-resolution: 0.001dpcm) {
|
|
79
79
|
@supports (-webkit-appearance: none) and (stroke-color: transparent) {
|
|
80
80
|
display: -webkit-box;
|
|
81
|
+
justify-content: ${align === "right" ? `flex-end` : `flex-start`};
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
84
|
|
|
@@ -93,10 +93,11 @@ const StyledButtonChildrenContainer = _styledComponents.default.div`
|
|
|
93
93
|
text-align: ${align};
|
|
94
94
|
z-index: ${theme.zIndex.overlay};
|
|
95
95
|
|
|
96
|
-
/* Styling for Safari.
|
|
96
|
+
/* Styling for Safari. */
|
|
97
97
|
@media not all and (min-resolution: 0.001dpcm) {
|
|
98
98
|
@supports (-webkit-appearance: none) and (stroke-color: transparent) {
|
|
99
99
|
display: -webkit-box;
|
|
100
|
+
justify-content: ${align === "right" ? `flex-end` : `flex-start`};
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
103
|
|