Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gridstack
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
gridstack
Commits
b10a6805
Commit
b10a6805
authored
7 months ago
by
Gaus Surahman
Browse files
Options
Downloads
Patches
Plain Diff
Stylelint
parent
a9dffa09
Branches
3.0.x
No related tags found
No related merge requests found
Pipeline
#318899
passed with warnings
7 months ago
Stage: build
Stage: validate
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
css/gridstack.css
+4
-2
4 additions, 2 deletions
css/gridstack.css
css/gridstack.layout.css
+6
-2
6 additions, 2 deletions
css/gridstack.layout.css
css/gridstack.native.css
+14
-6
14 additions, 6 deletions
css/gridstack.native.css
with
24 additions
and
10 deletions
css/gridstack.css
+
4
−
2
View file @
b10a6805
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
css/gridstack.layout.css
+
6
−
2
View file @
b10a6805
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
css/gridstack.native.css
+
14
−
6
View file @
b10a6805
...
...
@@ -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
,
1
fr
);
/* csslint allow: known-properties, grid-template-columns */
grid-template-columns
:
repeat
(
12
,
1
fr
);
/* csslint allow: known-properties, grid-template-columns */
}
}
/* csslint ignore:end */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment