Skip to content

Commit

Permalink
change(item): rename large to big class
Browse files Browse the repository at this point in the history
- this way we can introduce another scale that doesn't interfere
  with the default sizes
  • Loading branch information
ichim-david committed Dec 9, 2022
1 parent cd15e86 commit 24ff127
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ui/Item/ItemGroupWithIcons.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
},
imageSize: {
control: { type: 'select' },
options: ['small', 'medium', 'large'],
options: ['small', 'medium', 'big'],
table: {
type: { summary: 'string' },
defaultValue: { summary: 'medium' },
Expand Down
13 changes: 8 additions & 5 deletions theme/themes/eea/views/item.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
}

/* Image & Icon size */
.item .image {
overflow: hidden;
}

// SMALL - 48px
.item .small.image,
Expand All @@ -113,11 +116,11 @@
font-size: @mediumMediaSize;
}

// LARGE - 80px
.item .large.image,
.block .item .large.image,
.item i.large.icon,
.item i.large.icons {
// BIG - 80px
.item .big.image,
.block .item .big.image,
.item i.big.icon,
.item i.big.icons {
width: @largeMediaSize;
height: @largeMediaSize;
font-size: @largeMediaSize;
Expand Down

0 comments on commit 24ff127

Please sign in to comment.