Skip to content

Commit

Permalink
fix: fixed scroll issue on firefox for climate apps
Browse files Browse the repository at this point in the history
  • Loading branch information
imrthr committed Dec 9, 2024
1 parent 2975f6b commit a777ad7
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 4 deletions.
5 changes: 4 additions & 1 deletion apps/dragon-foods/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ body {
background-color: rgb(var(--color-bg));
color: rgb(var(--color-text-base));
}

.hideScroll {
scrollbar-width: none; /* Hides the scrollbar in Firefox */
-ms-overflow-style: none; /* Hides the scrollbar in Internet Explorer 10+ */
}
.hideScroll::-webkit-scrollbar {
display: none;
}
Expand Down
5 changes: 4 additions & 1 deletion apps/earth-support-initiative/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ body {
background-color: rgb(var(--color-bg));
color: rgb(var(--color-text-base));
}

.hideScroll {
scrollbar-width: none; /* Hides the scrollbar in Firefox */
-ms-overflow-style: none; /* Hides the scrollbar in Internet Explorer 10+ */
}
.hideScroll::-webkit-scrollbar {
display: none;
}
Expand Down
4 changes: 4 additions & 0 deletions apps/envirogrowth/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ body {
background-color: rgb(var(--color-bg));
color: rgb(var(--color-text-base));
}
.hideScroll {
scrollbar-width: none; /* Hides the scrollbar in Firefox */
-ms-overflow-style: none; /* Hides the scrollbar in Internet Explorer 10+ */
}

.hideScroll::-webkit-scrollbar {
display: none;
Expand Down
5 changes: 4 additions & 1 deletion apps/harmoni-aids/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ body {
background-color: rgb(var(--color-bg));
color: rgb(var(--color-text-base));
}

.hideScroll {
scrollbar-width: none; /* Hides the scrollbar in Firefox */
-ms-overflow-style: none; /* Hides the scrollbar in Internet Explorer 10+ */
}
.hideScroll::-webkit-scrollbar {
display: none;
}
Expand Down
4 changes: 4 additions & 0 deletions apps/sky-analytics/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ body {
background-color: rgb(var(--color-bg));
color: rgb(var(--color-text-base));
}
.hideScroll {
scrollbar-width: none; /* Hides the scrollbar in Firefox */
-ms-overflow-style: none; /* Hides the scrollbar in Internet Explorer 10+ */
}

.hideScroll::-webkit-scrollbar {
display: none;
Expand Down
5 changes: 4 additions & 1 deletion apps/state-forest-department/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ body {
background-color: rgb(var(--color-bg));
color: rgb(var(--color-text-base));
}

.hideScroll {
scrollbar-width: none; /* Hides the scrollbar in Firefox */
-ms-overflow-style: none; /* Hides the scrollbar in Internet Explorer 10+ */
}
.hideScroll::-webkit-scrollbar {
display: none;
}
Expand Down

0 comments on commit a777ad7

Please sign in to comment.