Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix mobile product list, side nav and search form

weronka95c4af0911c6
diff --git a/saleor/static/scss/dashboard/components/_list.scss b/saleor/static/scss/dashboard/components/_list.scss
index b0d514bf1d..27bc03cbda 100644
--- a/saleor/static/scss/dashboard/components/_list.scss
+++ b/saleor/static/scss/dashboard/components/_list.scss
@@ -4,10 +4,6 @@
& &-item.avatar {
min-height: 64px;
- @media (max-width: $small-screen) {
- margin-right: -$gutter-width/2;
- }
-
&-delete {
background: white;
font-size: $font-size-action-icon;
diff --git a/saleor/static/scss/dashboard/dashboard.scss b/saleor/static/scss/dashboard/dashboard.scss
index d8af9f0d38..5a0c262bbd 100644
--- a/saleor/static/scss/dashboard/dashboard.scss
+++ b/saleor/static/scss/dashboard/dashboard.scss
@@ -253,9 +253,13 @@ tr[data-action-go]>td:not(.ignore-link):hover {
button {
width: 20%;
padding: 0;
+ margin-top: 3px;
i {
color: $primary-color;
}
+ &:hover {
+ background-color: transparent;
+ }
}
}
@@ -282,8 +286,10 @@ h6 {
}
li#version-indicator {
- position: absolute;
- bottom: 0;
+ @media only screen and (min-width: $large-screen) {
+ position: absolute;
+ bottom: 0;
+ }
p {
@extend .grey-text, .text-lighten-1;
}
diff --git a/templates/dashboard/search/results.html b/templates/dashboard/search/results.html
index 720c9adfa7..e3d574d146 100644
--- a/templates/dashboard/search/results.html
+++ b/templates/dashboard/search/results.html
@@ -23,7 +23,7 @@
<input id="icon_prefix" type="text" class="validate left"
placeholder="{% trans "Search" context "Search form placeholder" %}"
name="q" value="{% if query %}{{ query }}{% endif %}">
- <button class="btn-flat search-button left" type="submit">
+ <button class="btn-flat" type="submit">
<i class="material-icons left right">search</i>
</button>
</form>