소스 검색

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