Skip to content

Commit 3b7beca

Browse files
committed
chore(lint): ignore disallowed property in content.scss
1 parent 0174a39 commit 3b7beca

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

core/src/components/content/content.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,16 @@
254254

255255
:host(.safe-area-left) #background-content,
256256
:host(.safe-area-left) .inner-scroll {
257+
/* stylelint-disable property-disallowed-list */
257258
left: var(--ion-safe-area-left, 0px);
259+
/* stylelint-enable property-disallowed-list */
258260
}
259261

260262
:host(.safe-area-right) #background-content,
261263
:host(.safe-area-right) .inner-scroll {
264+
/* stylelint-disable property-disallowed-list */
262265
right: var(--ion-safe-area-right, 0px);
266+
/* stylelint-enable property-disallowed-list */
263267
}
264268

265269

core/src/components/content/test/safe-area/content.e2e.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
4848
await expect(content).toHaveClass(/safe-area-right/);
4949
});
5050

51-
test('content with both header and footer should not have top/bottom safe-area classes', async ({ page }, testInfo) => {
51+
test('content with both header and footer should not have top/bottom safe-area classes', async ({
52+
page,
53+
}, testInfo) => {
5254
testInfo.annotations.push({
5355
type: 'issue',
5456
description: 'https://outsystemsrd.atlassian.net/browse/FW-6830',

0 commit comments

Comments
 (0)