Change mobile constatnt to make hit area smaller

This commit is contained in:
Rukmini Bose 2024-03-19 15:05:20 -07:00
parent 1ab48b6f50
commit 16253a921f
3 changed files with 11 additions and 1 deletions

View File

@ -33,7 +33,7 @@ $tabletItemH: floor(math.div($gridItemMobile, 3));
$shellTimeConductorMobileH: 90px;
/************************** MOBILE TREE MENU DIMENSIONS */
$mobileTreeItemH: 35px;
$mobileTreeItemH: 30px;
$mobileTreeItemIndent: 15px;
$mobileTreeRightArrowW: 30px;

View File

@ -78,6 +78,11 @@
&.l-pane--collapsed {
padding-left: 0 !important;
padding-right: 0 !important;
body.mobile & {
.l-shell__sync-tree-button .l-shell__reset-tree-button{
display: none !important;
}
}
}
}

View File

@ -115,6 +115,7 @@
color: $colorItemTreeFg;
cursor: pointer;
padding: $interiorMarginSm;
margin-left: $interiorMarginSm;
&:hover {
background-color: $colorItemTreeHoverBg;
@ -136,6 +137,7 @@ body.mobile {
}
.c-recentobjects-listitem__wrapper{
height: $mobileTreeItemH;
align-items: center;
margin-bottom: $interiorMarginSm;
background: rgba(172, 172, 172, 0.1);
border-radius: $interiorMarginSm;
@ -143,4 +145,7 @@ body.mobile {
.c-recentobjects-listitem{
border-top: none;
}
.c-recentobjects-listitem__type-icon{
margin-left: $interiorMargin;
}
}