From 99bf162318b40b2ac5d531c9a9e32c7501948eb5 Mon Sep 17 00:00:00 2001 From: WaitSpring Date: Mon, 20 Nov 2023 12:16:06 +0800 Subject: [PATCH] lint css Signed-off-by: WaitSpring --- .stylelintrc.json | 30 +++++++++++++-------------- resources/libraries/bootstrap.min.css | 13 +++--------- 2 files changed, 18 insertions(+), 25 deletions(-) diff --git a/.stylelintrc.json b/.stylelintrc.json index 370ff51..363f9e6 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,15 +1,15 @@ -{ - "extends": [ - "stylelint-config-wikimedia/support-modern", - "stylelint-config-wikimedia/mediawiki" - ], - "rules": { - "selector-class-pattern": null, - "no-duplicate-selectors": null, - "declaration-no-important": null, - "no-descending-specificity": null, - "selector-max-id": 1, - "selector-pseudo-element-colon-notation": null, - "selector-type-no-unknown": null - } -} +{ + "extends": [ + "stylelint-config-wikimedia/support-modern", + "stylelint-config-wikimedia/mediawiki" + ], + "rules": { + "selector-class-pattern": null, + "no-duplicate-selectors": null, + "declaration-no-important": null, + "no-descending-specificity": null, + "selector-max-id": 1, + "selector-pseudo-element-colon-notation": null, + "selector-type-no-unknown": null + } +} diff --git a/resources/libraries/bootstrap.min.css b/resources/libraries/bootstrap.min.css index 5bf0f06..4f19261 100644 --- a/resources/libraries/bootstrap.min.css +++ b/resources/libraries/bootstrap.min.css @@ -5379,10 +5379,7 @@ input[ type='submit' ].btn-block { .card-img-overlay { position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; + inset: 0 0 0 0; padding: 1.25rem; border-radius: calc( 0.25rem - 1px ); } @@ -6526,8 +6523,7 @@ a.close.disabled { } .modal-open .modal { - overflow-x: hidden; - overflow-y: auto; + overflow: hidden auto; } .modal { @@ -11146,10 +11142,7 @@ button.bg-dark:hover { .stretched-link:after { position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; + inset: 0 0 0 0; z-index: 1; pointer-events: auto; content: '';