Skip to content
Snippets Groups Projects
Commit 7cfdfebd authored by alexisben's avatar alexisben
Browse files

fix debug grid

parent 93b2391a
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@
--spacing4: #{$spacing4}
--spacing5: #{$spacing5}
--grid-gutter: #{$grid-gutter}
--grid-gutter-sm: #{$grid-gutter-sm}
--grid-max-width: #{$grid-max-width}
--header-height: #{$header-height}
--header-menu-max-height: calc(100vh - var(--header-height) - #{$spacing4})
......
......@@ -24,17 +24,13 @@
<div class="d-cross"></div>
<style>
:root {
--d-grid-margin: 64px;
--d-grid-sm-margin: 44px;
}
.d-grid {
bottom: 0;
display: none;
grid-gap: var(--d-grid-margin);
grid-gap: var(--grid-gutter);
grid-template-columns: repeat(12, 1fr);
opacity: 0.3;
padding: 0 var(--d-grid-margin);
padding: 0 var(--grid-gutter);
pointer-events: none;
position: fixed;
margin: auto;
......@@ -42,7 +38,7 @@
top: 0;
left: 50%;
transform: translateX(-50%);
width: calc(1680px + var(--d-grid-margin));
width: calc(var(--grid-max-width) + var(--grid-gutter));
z-index: 9999;
font-family: sans-serif;
font-size: 12px;
......@@ -143,8 +139,8 @@
display: none;
}
.d-grid {
border-left: calc(var(--d-grid-sm-margin) / 2) solid fuchsia;
border-right: calc(var(--d-grid-sm-margin) / 2) solid fuchsia;
border-left: calc(var(--grid-gutter-sm) / 2) solid fuchsia;
border-right: calc(var(--grid-gutter-sm) / 2) solid fuchsia;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment