added height and width the the ImgIcon common component in order to control the icon size so that icons that are not square dont get the bottom cut off
This commit is contained in:
parent
53a7c486ce
commit
17f4cbc242
8 changed files with 2218 additions and 17 deletions
|
|
@ -53,7 +53,7 @@ export default function AddBinFab(props: Props) {
|
|||
aria-label="Create Bin"
|
||||
className={classString}
|
||||
size={isMobile ? "medium" : "large"}>
|
||||
<ImgIcon alt="Create Bin" src={AddBinIcon} />
|
||||
<ImgIcon alt="Create Bin" src={AddBinIcon} iconHeight={"35px"} iconWidth={"35px"}/>
|
||||
</Fab>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,6 +85,9 @@ export default function BinsList(props: Props) {
|
|||
//const visibility = useContext(VisibilityContext);
|
||||
return (
|
||||
<ScrollMenu
|
||||
onUpdate={(visibility) => {
|
||||
console.log(visibility.useIsVisible('last', false))
|
||||
}}
|
||||
LeftArrow={leftArrow}
|
||||
RightArrow={rightArrow}>
|
||||
{bins.map((b, i) => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue