Skip to content

Commit

Permalink
Prevent scrollbar blur on search
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakib25800 committed May 11, 2024
1 parent 9f75bdc commit e2b03e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 5 additions & 1 deletion plugins/semrush/src/pages/keywords/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,12 @@ export function KeywordsSearch() {
</div>
<div className="flex items-center justify-center h-[545px] relative">
{isLoading && <Spinner size="large" inheritColor />}
<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 ml-3" />
</div>
{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 ">
<div className="w-full h-full absolute backdrop-blur-[2px] z-10"></div>
<Spinner size="large" inheritColor className="z-20" />
</div>
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 e2b03e2

Please sign in to comment.