only apply webkit hacks to search page

This commit is contained in:
Nikita Galaiko 2023-03-28 10:53:13 +02:00
parent 6125d08e2a
commit e86aa11ef6
2 changed files with 8 additions and 6 deletions

View File

@ -3,12 +3,6 @@
@tailwind components;
@tailwind utilities;
/* this is trick to make webkit use hardware acceleration */
*:not(html) {
-webkit-transform: translate3d(0, 0, 0);
-webkit-perspective: 1000;
}
.scrollbar-hidden::-webkit-scrollbar {
-webkit-appearance: none;
width: 0;

View File

@ -131,3 +131,11 @@
</ul>
{/if}
</figure>
<style>
/* this is trick to make webkit use hardware acceleration */
figure {
-webkit-transform: translate3d(0, 0, 0);
-webkit-perspective: 1000;
}
</style>