Skip to content

Commit

Permalink
fix Dropdown and Metrika
Browse files Browse the repository at this point in the history
  • Loading branch information
uvarov-frontend committed Oct 27, 2023
1 parent 049f5a6 commit b2fadc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/[locale]/components/Filter/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function Dropdown({ placeholder, peoples, levels }: { placeholder
<span className="absolute -top-5 left-4 h-5 text-[0.5625rem] font-semibold uppercase text-white">{placeholder}</span>
<button
type="button"
className={`flex h-full w-full flex-col justify-center rounded-r-[10px] bg-white px-4 py-2 text-[0.93rem] font-medium
className={`flex h-full w-full flex-col justify-center items-start rounded-r-[10px] bg-white px-4 py-2 text-[0.93rem] font-medium
after:absolute after:bottom-0
after:right-4 after:top-[5px] after:m-auto after:h-0 after:w-0 after:border-[5px] after:border-transparent after:border-t-[#9ea9b7] focus:shadow-[0_0_0_2px_#ff521f]
focus:outline-none ${showDropdown ? 'after:-translate-y-1 after:rotate-180' : ''}`}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Metrika.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default function Metrika() {
<script
dangerouslySetInnerHTML={{
__html:
'(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(95372062, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true });',
'(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(95372062, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true });',
}}
/>
);
Expand Down

0 comments on commit b2fadc0

Please sign in to comment.