mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
User Select disabled, plus hidding horizontal scroll bars
This commit is contained in:
parent
f557274f62
commit
1699254288
@ -1,6 +1,6 @@
|
||||
.root {
|
||||
@apply relative w-full h-full;
|
||||
overflow-y: hidden;
|
||||
@apply relative w-full h-full select-none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.slider {
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
.control {
|
||||
@apply bg-violet absolute bottom-10 right-10 flex flex-row
|
||||
border-accent-0 border text-accent-0 z-30 shadow-xl;
|
||||
border-accent-0 border text-accent-0 z-30 shadow-xl select-none;
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
@ -59,11 +59,16 @@
|
||||
}
|
||||
|
||||
.album {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@apply bg-violet-dark;
|
||||
box-sizing: content-box;
|
||||
overflow-y: hidden;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
height: 125px;
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: -10px;
|
||||
}
|
||||
|
||||
@screen md {
|
||||
|
@ -155,7 +155,9 @@ const ProductView: FC<Props> = ({ product, relatedProducts }) => {
|
||||
</section>
|
||||
<div className="flex flex-row justify-between items-center">
|
||||
<Rating value={2} />
|
||||
<div className="text-accent-6 pr-1">36 reviews</div>
|
||||
<div className="text-accent-6 pr-1 font-medium select-none">
|
||||
36 reviews
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<Button
|
||||
|
@ -3,7 +3,7 @@
|
||||
composes: root from 'components/ui/Button/Button.module.css';
|
||||
@apply h-10 w-10 bg-primary text-primary rounded-full mr-3 inline-flex
|
||||
items-center justify-center cursor-pointer transition duration-150 ease-in-out
|
||||
p-0 shadow-none border-gray-200 border box-border;
|
||||
p-0 shadow-none border-gray-200 border box-border select-none;
|
||||
margin-right: calc(0.75rem - 1px);
|
||||
overflow: hidden;
|
||||
width: 48px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user