frontend: recommendations widget is responsive

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-02 16:34:21 -07:00
parent 96ffafe0c5
commit 6c8d06428f

View file

@ -2,7 +2,7 @@
<h5 class="text-muted">Products you might like</h5> <h5 class="text-muted">Products you might like</h5>
<div class="row my-2 py-3"> <div class="row my-2 py-3">
{{range . }} {{range . }}
<div class="col-3"> <div class="col-sm-6 col-md-4 col-lg-3">
<div class="card mb-3 box-shadow"> <div class="card mb-3 box-shadow">
<a href="/product/{{.Id}}"> <a href="/product/{{.Id}}">
<img class="card-img-top border-bottom" alt ="" <img class="card-img-top border-bottom" alt =""