Skip to content

Commit b6093e3

Browse files
committed
Disable stylelint for container queries
1 parent 74e1cb9 commit b6093e3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/filebrowser/style/base.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,22 @@
296296
outline: 0;
297297
}
298298

299+
/* This file uses container queries, which are supported by all the
300+
* browsers that JupyterLab works with, but which stylelint cannot
301+
* validate.
302+
*/
303+
299304
.jp-DirListing-itemModified {
300305
flex: 1 0 83px;
301306
text-align: right;
307+
/* stylelint-disable */
302308
container-type: inline-size;
309+
/* stylelint-enable */
303310
}
304311

312+
/* stylelint-disable */
305313
@container (width < 90px) {
314+
/* stylelint-enable */
306315
.jp-DirListing-itemModified-narrow {
307316
display: block;
308317
}
@@ -316,7 +325,9 @@
316325
}
317326
}
318327

328+
/* stylelint-disable */
319329
@container (width >= 90px) and (width <= 110px) {
330+
/* stylelint-enable */
320331
.jp-DirListing-itemModified-narrow {
321332
display: none;
322333
}
@@ -330,7 +341,9 @@
330341
}
331342
}
332343

344+
/* stylelint-disable */
333345
@container (width > 110px) {
346+
/* stylelint-enable */
334347
.jp-DirListing-itemModified-narrow {
335348
display: none;
336349
}

0 commit comments

Comments
 (0)