Skip to content

Commit

Permalink
Prevent scrollbar blur on load
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakib25800 committed May 11, 2024
1 parent 9f75bdc commit 2d32f8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugins/semrush/src/pages/keywords/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ export function KeywordsSearch() {
<div className="flex items-center justify-center h-[545px] relative">
{isLoading && <Spinner size="large" inheritColor />}
{isPlaceholderData && isFetching && (
<div className="w-full h-full flex items-center justify-center absolute top-8 right-3 left-[0px]">
<div className="w-full h-full flex items-center justify-center absolute top-8 right-3">
<div className="w-full h-full absolute backdrop-blur-[2px] z-10"></div>
<Spinner size="large" inheritColor className="z-20" />
<Spinner size="large" inheritColor className="z-20 ml-3" />
</div>
)}
{!isLoading && (data === undefined || keyword === "") && (
Expand Down
3 changes: 0 additions & 3 deletions plugins/semrush/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ export default {
fontFamily: {
sans: ["Arial", "sans-serif", ...defaultTheme.fontFamily.sans],
},
animation: {
fade: "fadeIn .8s ease-in-out",
},
keyframes: {
fadeIn: {
from: { opacity: 0 },
Expand Down

0 comments on commit 2d32f8e

Please sign in to comment.