A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: skeleton screen style adjustment
shuai262240594e72
diff --git a/ui/src/pages/Questions/Detail/components/ContentLoader/index.tsx b/ui/src/pages/Questions/Detail/components/ContentLoader/index.tsxindex 52119c81..7999e532 100644--- a/ui/src/pages/Questions/Detail/components/ContentLoader/index.tsx+++ b/ui/src/pages/Questions/Detail/components/ContentLoader/index.tsx@@ -12,10 +12,54 @@ const Index: FC = () => {style={{ height: '24px' }}/>- <div- className="placeholder w-100 align-top"- style={{ height: '450px', marginBottom: '2rem' }}- />+ <div style={{ marginBottom: '2rem' }}>+ <p>+ <div+ className="placeholder w-100 d-block align-top mb-1"+ style={{ height: '24px' }}+ />+ <div+ className="placeholder w-100 d-block align-top mb-1"+ style={{ height: '24px' }}+ />+ <div+ className="placeholder w-100 d-block align-top mb-1"+ style={{ height: '24px' }}+ />++ <div+ className="placeholder w-100 d-block align-top mb-1"+ style={{ height: '24px' }}+ />+ <div+ className="placeholder w-75 d-block align-top"+ style={{ height: '24px' }}+ />+ </p>++ <p>+ <div+ className="placeholder w-100 d-block align-top mb-1"+ style={{ height: '24px' }}+ />+ <div+ className="placeholder w-100 d-block align-top mb-1"+ style={{ height: '24px' }}+ />+ <div+ className="placeholder w-100 d-block align-top mb-1"+ style={{ height: '24px' }}+ />+ <div+ className="placeholder w-100 d-block align-top mb-1"+ style={{ height: '24px' }}+ />+ <div+ className="placeholder w-50 d-block align-top"+ style={{ height: '24px' }}+ />+ </p>+ </div><div className="d-flex"><divdiff --git a/ui/src/pages/Questions/Detail/index.tsx b/ui/src/pages/Questions/Detail/index.tsxindex 2b9a121f..32997609 100644--- a/ui/src/pages/Questions/Detail/index.tsx+++ b/ui/src/pages/Questions/Detail/index.tsx@@ -171,6 +171,7 @@ const Index = () => {{question?.operation?.operation_type && (<Alert data={question.operation} />)}+ <ContentLoader />{isLoading ? (<ContentLoader />) : (