Skip to content
Snippets Groups Projects
Commit b10a6805 authored by Gaus Surahman's avatar Gaus Surahman
Browse files

Stylelint

parent a9dffa09
Branches 3.0.x
No related tags found
No related merge requests found
Pipeline #318899 passed with warnings
......@@ -76,7 +76,8 @@
/* @todo required for rounded to work, but might break js. */
.box__content.is-gs-media {
position: relative;
margin-bottom: 0; /* Overrides bootstrap heading classes from making headaches. */
margin-bottom: 0;
/* Overrides bootstrap heading classes from making headaches. */
}
/* Reveals media element (IMG, IFRAME, VIDEO) for Edge to Edge (EtE). */
......@@ -133,7 +134,8 @@
.gridstack .block,
.gridstack .block .content,
.gridstack .block .block__content,
.gridstack .block h2 { /* csslint allow: qualified-headings */
.gridstack .block h2 {
/* csslint allow: qualified-headings */
margin-top: 0;
}
......
......@@ -99,6 +99,7 @@
/* XS < 576px, SM >= 576px, MD >= 768px, LG >= 992px, XL >= 1200px */
@media screen and (min-width: 768px) {
.mh-md-xs,
.mh-md-xs > .box__bg {
min-height: 240px;
......@@ -126,6 +127,7 @@
}
@media screen and (min-width: 1200px) {
.mh-lg-xs,
.mh-lg-xs > .box__bg {
min-height: 240px;
......@@ -207,12 +209,14 @@
}
/* Be careful, breaking layout. */
.row [class*="rounded"] { /* csslint allow: unqualified-attributes */
.row [class*="rounded"] {
/* csslint allow: unqualified-attributes */
position: relative;
overflow: hidden;
}
.row [class*="rounded"] .box__bg { /* csslint allow: unqualified-attributes */
.row [class*="rounded"] .box__bg {
/* csslint allow: unqualified-attributes */
padding-right: 0;
padding-left: 0;
}
......
......@@ -31,10 +31,12 @@
/* grid-auto-rows: minmax(30px, auto);
justify-content: stretch; */
grid-auto-flow: row dense;
align-content: start; /* csslint allow: known-properties, start */
align-content: start;
/* csslint allow: known-properties, start */
justify-content: center;
/* grid-auto-rows: attr(data-cell-height px, "80px"); */
gap: 10px; /* csslint allow: known-properties, gap */
gap: 10px;
/* csslint allow: known-properties, gap */
}
.gridstack--native.is-gs-enabled {
......@@ -43,7 +45,8 @@
/** Without margin. */
.gridstack--native.is-gs-nomargin {
gap: 0; /* csslint allow: known-properties, gap */
gap: 0;
/* csslint allow: known-properties, gap */
}
.gridstack--native > .box {
......@@ -73,8 +76,10 @@
* contents have defined heights as solved by JS for few contents. Not all.
*/
/* position: absolute; */
width: 100%; /* Normaly auto for JS layout. */
height: 100%; /* Should be 0 with padding hack, but it doesn't work that way. */
width: 100%;
/* Normaly auto for JS layout. */
height: 100%;
/* Should be 0 with padding hack, but it doesn't work that way. */
}
/** grid-row == height */
......@@ -212,9 +217,12 @@
*/
/* csslint ignore:start */
@media screen and (min-width: 1024px) {
/* https://github.com/CSSLint/parser-lib/issues/228 */
.gridstack--native {
grid-template-columns: repeat(12, 1fr); /* csslint allow: known-properties, grid-template-columns */
grid-template-columns: repeat(12, 1fr);
/* csslint allow: known-properties, grid-template-columns */
}
}
/* csslint ignore:end */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment