Procházet zdrojové kódy

defaulted width of buttons inside ui-buttons to 100%

Warafear před 1 rokem
rodič
revize
3f53734530

+ 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.