Browse Source

UI: Reduce default buttons letterspacing

pull/8262/head
Igor Kulikov 4 years ago
parent
commit
5f3e277ca1
  1. 2
      ui-ngx/src/app/modules/home/menu/side-menu.component.scss
  2. 4
      ui-ngx/src/theme.scss

2
ui-ngx/src/app/modules/home/menu/side-menu.component.scss

@ -47,7 +47,6 @@
border-bottom: none; border-bottom: none;
} }
&.tb-active { &.tb-active {
font-weight: 500;
background-color: rgba(255, 255, 255, .15); background-color: rgba(255, 255, 255, .15);
} }
mat-icon { mat-icon {
@ -63,7 +62,6 @@
white-space: nowrap; white-space: nowrap;
display: inline-flex; display: inline-flex;
& > span { & > span {
letter-spacing: .03125em;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }

4
ui-ngx/src/theme.scss

@ -71,7 +71,9 @@ $tb-mat-theme: mat.define-light-theme((
primary: $tb-primary, primary: $tb-primary,
accent: $tb-accent accent: $tb-accent
), ),
typography: mat.define-typography-config(), typography: mat.define-typography-config(
$button: mat.define-typography-level(14px, 36px, 500, $letter-spacing: 0.03125em)
),
density: 0 density: 0
)); ));

Loading…
Cancel
Save