Просмотр исходного кода

change reading styles to moved core pkg spinner

Tatsuya Ise 2 лет назад
Родитель
Сommit
bce91ac6b1
2 измененных файлов с 2 добавлено и 3 удалено
  1. 1 3
      apps/app/src/components/LoadingSpinner.tsx
  2. 1 0
      apps/app/src/styles/style-app.scss

+ 1 - 3
apps/app/src/components/LoadingSpinner.tsx

@@ -1,7 +1,5 @@
 import React, { type ComponentPropsWithoutRef } from 'react';
 import React, { type ComponentPropsWithoutRef } from 'react';
 
 
-import styles from './LoadingSpinner.module.scss';
-
 export const LoadingSpinner = ({ className = '' }: ComponentPropsWithoutRef<'span'>): JSX.Element => (
 export const LoadingSpinner = ({ className = '' }: ComponentPropsWithoutRef<'span'>): JSX.Element => (
-  <span className={`material-symbols-outlined pb-0 ${styles.spinner} ${className}`}>progress_activity</span>
+  <span className={`material-symbols-outlined pb-0 spinner ${className}`}>progress_activity</span>
 );
 );

+ 1 - 0
apps/app/src/styles/style-app.scss

@@ -1,5 +1,6 @@
 @import '@growi/core/scss/flex-expand';
 @import '@growi/core/scss/flex-expand';
 @import '@growi/core/scss/rotate';
 @import '@growi/core/scss/rotate';
+@import '@growi/core/scss/spinner';
 
 
 @import 'mixins';
 @import 'mixins';