mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 23:12:22 +03:00
Extract some styles to css file.
This commit is contained in:
parent
30133498d6
commit
ab8b747cb5
@ -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") ]
|
||||
[]
|
||||
]
|
||||
]
|
||||
|
@ -42,6 +42,14 @@ kbd {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.item form {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.item img {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.icon svg {
|
||||
width: 20px !important;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user