Преглед на файлове

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.