Skip to content

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

Use grid push and pull to order menu position

Krzysztof Białogłowicz0759d207e92d
diff --git a/saleor/static/scss/dashboard/layouts/_style-guide.scss b/saleor/static/scss/dashboard/layouts/_style-guide.scss
index 05f9a7528c..163d73e3c8 100644
--- a/saleor/static/scss/dashboard/layouts/_style-guide.scss
+++ b/saleor/static/scss/dashboard/layouts/_style-guide.scss
@@ -1,6 +1,5 @@
.styleguide {
&__menu {
- float: right !important;
position: relative;
ul {
li {
@@ -23,7 +22,6 @@
}
}
&__content {
- float: left !important;
&__block {
.container {
margin-left: 0;
diff --git a/templates/dashboard/styleguide/index.html b/templates/dashboard/styleguide/index.html
index e40171ef93..b2c3f6fac2 100644
--- a/templates/dashboard/styleguide/index.html
+++ b/templates/dashboard/styleguide/index.html
@@ -21,7 +21,7 @@
{% block content %}
<div class="styleguide">
<div class="row">
- <div class="col m3 s12 styleguide__menu">
+ <div class="col m3 push-m9 s12 styleguide__menu">
<ul>
<li>
<a href="#typography">
@@ -100,7 +100,7 @@
</li>
</ul>
</div>
- <div class="col m9 s12 styleguide__content">
+ <div class="col m9 pull-m3 s12 styleguide__content">
<div id="typography" class="styleguide__content__block">
<h3 class="styleguide__content__block--title">
{% trans "Typography" context "Typography title in style guide" %}