Skip to content

Commit

Permalink
cherry-pick(#6183) Visual tweaks to Recently Viewed items (#6195)
Browse files Browse the repository at this point in the history
- Reduced size of icon.
- Tightened spacing.

Co-authored-by: Charles Hacskaylo <[email protected]>
  • Loading branch information
ozyx and charlesh88 authored Jan 26, 2023
1 parent 50592fd commit decec8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ui/layout/recent-objects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
align-items: flex-start;

> * + * {
margin-left: $interiorMargin;
margin-left: $interiorMarginSm;
}

+ .c-recentobjects-listitem {
Expand Down Expand Up @@ -58,7 +58,7 @@

&__type-icon {
color: $colorItemTreeIcon;
font-size: 2.2em;
font-size: 1.25em;

// TEMP: uses object-label component, hide label part
.c-object-label__name {
Expand All @@ -72,6 +72,7 @@

&__body {
flex: 1 1 auto;
padding-top: 2px; // Align with type icon

> * + * {
margin-top: $interiorMarginSm;
Expand Down

0 comments on commit decec8d

Please sign in to comment.