소스 검색

defaulted width of buttons inside ui-buttons to 100%

Warafear 1 년 전
부모
커밋
3f53734530
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      src/app/shared-components/ui-button/ui-button.component.scss
  2. 1 1
      src/app/shared-components/ui-button/ui-button.component.ts

+ 1 - 0
src/app/shared-components/ui-button/ui-button.component.scss

@@ -1,4 +1,5 @@
 button {
+    display: block;
     font-size: 1.25rem;
     font-weight: 600;
     height: 3rem;

+ 1 - 1
src/app/shared-components/ui-button/ui-button.component.ts

@@ -17,7 +17,7 @@ export class UiButtonComponent {
    * @type {string}
    * @memberof UiButtonComponent
    */
-  @Input() width: string = '';
+  @Input() width: string = 'default';
 
   /**
    * The color of the button, default is neutral.