mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(lint): ignore disallowed property in content.scss
This commit is contained in:
@@ -254,12 +254,16 @@
|
||||
|
||||
:host(.safe-area-left) #background-content,
|
||||
:host(.safe-area-left) .inner-scroll {
|
||||
/* stylelint-disable property-disallowed-list */
|
||||
left: var(--ion-safe-area-left, 0px);
|
||||
/* stylelint-enable property-disallowed-list */
|
||||
}
|
||||
|
||||
:host(.safe-area-right) #background-content,
|
||||
:host(.safe-area-right) .inner-scroll {
|
||||
/* stylelint-disable property-disallowed-list */
|
||||
right: var(--ion-safe-area-right, 0px);
|
||||
/* stylelint-enable property-disallowed-list */
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -48,7 +48,9 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
||||
await expect(content).toHaveClass(/safe-area-right/);
|
||||
});
|
||||
|
||||
test('content with both header and footer should not have top/bottom safe-area classes', async ({ page }, testInfo) => {
|
||||
test('content with both header and footer should not have top/bottom safe-area classes', async ({
|
||||
page,
|
||||
}, testInfo) => {
|
||||
testInfo.annotations.push({
|
||||
type: 'issue',
|
||||
description: 'https://outsystemsrd.atlassian.net/browse/FW-6830',
|
||||
|
||||
Reference in New Issue
Block a user