mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor(ui): move preview related style to AppContent
move preview related style to AppContent
This commit is contained in:
parent
84755e00fa
commit
75fb1a1c08
3 changed files with 14 additions and 11 deletions
|
@ -1,9 +0,0 @@
|
|||
.preview {
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
|
||||
main {
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
}
|
|
@ -18,6 +18,18 @@
|
|||
--color-dark-brand-pressed: #5d36ff;
|
||||
}
|
||||
|
||||
// Disable User Interaction Under Preview
|
||||
.preview {
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
|
||||
main {
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
background-color: var(--color-base);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
|
|
|
@ -2,8 +2,8 @@ import { ConnectorPlatform } from '@logto/schemas';
|
|||
import { conditionalString } from '@silverhand/essentials';
|
||||
import { useEffect, useState } from 'react';
|
||||
|
||||
import * as styles from '@/App.module.scss';
|
||||
import type { Context } from '@/hooks/use-page-context';
|
||||
import * as styles from '@/containers/AppContent/index.module.scss';
|
||||
import { Context } from '@/hooks/use-page-context';
|
||||
import initI18n from '@/i18n/init';
|
||||
import { changeLanguage } from '@/i18n/utils';
|
||||
import type { SignInExperienceSettings, PreviewConfig } from '@/types';
|
||||
|
|
Loading…
Reference in a new issue