Extract some styles to css file.

This commit is contained in:
Dillon Kearns 2022-05-25 10:00:23 -07:00
parent 30133498d6
commit ab8b747cb5
2 changed files with 9 additions and 7 deletions

View File

@ -278,7 +278,6 @@ productView cart item =
]
, Html.form
[ Attr.method "POST"
, Attr.style "padding" "20px"
, Pages.Msg.fetcherOnSubmit
]
[ Html.input
@ -305,12 +304,7 @@ productView cart item =
]
, Html.div []
[ Html.img
[ Attr.src
(item.unsplashImage
++ "?ixlib=rb-1.2.1&raw_url=true&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=600&h=903"
)
, Attr.width 150
]
[ Attr.src (item.unsplashImage ++ "?ixlib=rb-1.2.1&raw_url=true&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=600&h=903") ]
[]
]
]

View File

@ -42,6 +42,14 @@ kbd {
justify-content: space-between;
}
.item form {
padding: 20px;
}
.item img {
width: 150px;
}
.icon svg {
width: 20px !important;
}