Skip to content

Commit

Permalink
fix: 圖片在桌機沒顯示
Browse files Browse the repository at this point in the history
  • Loading branch information
sexyoung committed Sep 1, 2023
1 parent 04b0f45 commit d6d8c58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/components/CuringSubPage.tsx
Expand Up @@ -80,7 +80,7 @@ const CuringSubPage = (props: CuringSubPageProps) => {
<div className="cp-left-block">
<div className="cp-title">
<div
className="mx-auto h-[100px] w-[180px] bg-contain bg-center bg-no-repeat lg:h-full"
className="mx-auto h-[100px] w-[180px] bg-contain bg-center bg-no-repeat lg:h-[auto]"
style={{
backgroundImage: `url(${titleImage[index]})`,
}}
Expand Down
10 changes: 6 additions & 4 deletions app/styles/curing.css
Expand Up @@ -29,10 +29,12 @@
color: #857162;
position: relative;
margin-bottom: 40px;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
@apply rounded-3xl bg-[#c3ff73] text-center lg:flex lg:text-left;
@apply rounded-3xl
bg-[#c3ff73]
p-3
text-center
lg:flex
lg:text-left;
}

.cp-title-text {
Expand Down

0 comments on commit d6d8c58

Please sign in to comment.