Skip to content

Commit

Permalink
fix: group name style
Browse files Browse the repository at this point in the history
  • Loading branch information
Raubzeug committed Jul 2, 2024
1 parent b5a1805 commit 148fe59
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/containers/Tenant/Acl/Acl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@
display: flex;
flex-direction: column;
}
&__group-label {
@include subheader-2-typography();
}
}
2 changes: 1 addition & 1 deletion src/containers/Tenant/Acl/Acl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function getAclListItems(acl?: TACE[]): DefinitionListItem[] {
};
}
return {
label: Subject,
label: <span className={b('group-label')}>{Subject}</span>,
items: aclParams
.map((key) => {
const value = data[key];
Expand Down
5 changes: 5 additions & 0 deletions src/styles/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
line-height: var(--g-text-subheader-3-line-height);
}

@mixin subheader-2-typography() {
font-size: var(--g-text-subheader-2-font-size);
line-height: var(--g-text-subheader-2-line-height);
}

@mixin header-1-typography() {
font-size: var(--g-text-header-1-font-size);
line-height: var(--g-text-header-1-line-height);
Expand Down

0 comments on commit 148fe59

Please sign in to comment.