Sticker Set Card: Allow different height (#6571)
This commit is contained in:
parent
1877aad754
commit
048d531321
@ -17,8 +17,6 @@ import StickerButton from './StickerButton';
|
|||||||
|
|
||||||
import './StickerSetCard.scss';
|
import './StickerSetCard.scss';
|
||||||
|
|
||||||
const STICKER_SET_CARD_HEIGHT = 56;
|
|
||||||
|
|
||||||
type OwnProps = {
|
type OwnProps = {
|
||||||
stickerSet?: ApiStickerSet;
|
stickerSet?: ApiStickerSet;
|
||||||
noPlay?: boolean;
|
noPlay?: boolean;
|
||||||
@ -82,7 +80,6 @@ const StickerSetCard: FC<OwnProps> = ({
|
|||||||
return (
|
return (
|
||||||
<ListItem
|
<ListItem
|
||||||
className={buildClassName('StickerSetCard', 'small-icon', className)}
|
className={buildClassName('StickerSetCard', 'small-icon', className)}
|
||||||
style={`height: ${STICKER_SET_CARD_HEIGHT}px;`}
|
|
||||||
inactive={!firstSticker}
|
inactive={!firstSticker}
|
||||||
onClick={handleCardClick}
|
onClick={handleCardClick}
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user