Explorar el Código

Bugfix: Button title text align problems fixed.

lfabl hace 1 mes
padre
commit
b94f68ef04

+ 2 - 1
src/components/button/stylesheet.ts

@@ -155,7 +155,8 @@ const stylesheet = StyleSheet.create({
         display: "flex"
     },
     title: {
-        margin: "0",
+        textAlign: "center",
+        margin: "0"
     },
     loading: {},
     overlay: {

+ 2 - 1
src/components/highlightButton/stylesheet.ts

@@ -123,7 +123,8 @@ const stylesheet = StyleSheet.create({
         display: "flex"
     },
     title: {
-        margin: "0",
+        textAlign: "center",
+        margin: "0"
     },
     loading: {},
     overlay: {