We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--main-layout-padding
1 parent 0d67a59 commit 459011aCopy full SHA for 459011a
app/styles/application.module.css
@@ -171,8 +171,10 @@ noscript {
171
}
172
173
.inner-main {
174
+ --main-layout-padding: 15px;
175
+
176
composes: width-limit;
177
display: flex;
178
flex-direction: column;
- padding: 15px;
179
+ padding: var(--main-layout-padding);
180
app/styles/crate/version.module.css
@@ -15,8 +15,8 @@
15
box-shadow: var(--shadow);
16
17
@media only screen and (max-width: 550px) {
18
- margin-left: -15px;
19
- margin-right: -15px;
+ margin-left: calc(var(--main-layout-padding) * -1);
+ margin-right: calc(var(--main-layout-padding) * -1);
20
border-radius: 0;
21
22
0 commit comments