فهرست منبع

Bugfix: Button title text align problems fixed.

lfabl 1 ماه پیش
والد
کامیت
b94f68ef04
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 2 1
      src/components/button/stylesheet.ts
  2. 2 1
      src/components/highlightButton/stylesheet.ts

+ 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: {