4
0
forked from crowetic/commerce

make the arrows sharper on retina devices

This commit is contained in:
Franco Arza 2020-10-23 12:35:08 -03:00
parent ed8fc41005
commit bed9aec5db
3 changed files with 4 additions and 4 deletions

View File

@ -1,20 +1,20 @@
.root {
@apply relative w-full h-full relative;
@apply relative w-full h-full;
overflow-y: hidden;
}
.leftControl,
.rightControl {
@apply text-white text-xl absolute top-1/2 -translate-x-1/2 z-20 w-16 h-16 flex items-center justify-center bg-hover-1 rounded-full focus:outline-none focus:shadow-outline-blue hover:bg-hover-2;
@apply absolute top-1/2 -translate-x-1/2 z-20 w-16 h-16 flex items-center justify-center bg-hover-1 rounded-full focus:outline-none focus:shadow-outline-blue hover:bg-hover-2;
}
.leftControl {
@apply left-10 md:left-6;
@apply bg-cover left-10 md:left-6;
background-image: url('public/cursor-left.png');
}
.rightControl {
@apply right-10 md:right-6;
@apply bg-cover right-10 md:right-6;
background-image: url('public/cursor-right.png');
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB