Skip to content

Commit

Permalink
chore(curriculum): improve header layout
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Jan 31, 2024
1 parent 8334589 commit a24a380
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/curriculum/module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,13 @@
grid-area: main;

> header {
align-items: center;
column-gap: 1.5rem;
display: grid;
grid-template-areas: "icon heading" "nothing category";
grid-template-areas: "icon heading" "icon category";
justify-content: flex-start;
justify-items: flex-start;

.topic-icon {
align-self: flex-start;
grid-area: icon;
height: 4rem;
width: 4rem;
Expand All @@ -86,6 +85,7 @@
font-size: var(--type-smaller-font-size);
grid-area: category;
margin: 0;
margin-top: 0.5rem;

&::before {
content: "Category: ";
Expand Down

0 comments on commit a24a380

Please sign in to comment.