removed top margin and shadow for mobile layout
This commit is contained in:
parent
bdf736c70f
commit
b61cdbf40c
1 changed files with 2 additions and 2 deletions
|
@ -94,10 +94,10 @@ export default function Type(props): Type {
|
||||||
</Head>
|
</Head>
|
||||||
<main
|
<main
|
||||||
className={
|
className={
|
||||||
"mx-auto my-24 transition-max-width ease-in-out duration-500 " +
|
"mx-auto my-0 sm:my-24 transition-max-width ease-in-out duration-500 " +
|
||||||
(selectedDate ? "max-w-6xl" : "max-w-3xl")
|
(selectedDate ? "max-w-6xl" : "max-w-3xl")
|
||||||
}>
|
}>
|
||||||
<div className="bg-white shadow rounded-lg">
|
<div className="bg-white sm:shadow sm:rounded-lg">
|
||||||
<div className="sm:flex px-4 py-5 sm:p-4">
|
<div className="sm:flex px-4 py-5 sm:p-4">
|
||||||
<div className={"pr-8 sm:border-r " + (selectedDate ? "sm:w-1/3" : "sm:w-1/2")}>
|
<div className={"pr-8 sm:border-r " + (selectedDate ? "sm:w-1/3" : "sm:w-1/2")}>
|
||||||
<Avatar user={props.user} className="w-16 h-16 rounded-full mb-4" />
|
<Avatar user={props.user} className="w-16 h-16 rounded-full mb-4" />
|
||||||
|
|
Loading…
Reference in a new issue