Editing skeleton
This commit is contained in:
parent
9998c6ed5b
commit
63667a9c6d
|
@ -116,10 +116,15 @@
|
||||||
// Skeleton table
|
// Skeleton table
|
||||||
|
|
||||||
.table-styles .row div:not(:first-child) {
|
.table-styles .row div:not(:first-child) {
|
||||||
margin: 6px auto 0px;
|
margin: 2px auto 0px;
|
||||||
|
}
|
||||||
|
.table-styles li, .table-styles .row div {
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
.table-styles .row .skeleton-list{
|
.table-styles .row .skeleton-list{
|
||||||
display: block;
|
display: block;
|
||||||
|
width: 70px;
|
||||||
|
height: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -23,10 +23,11 @@ const AddTable = props => {
|
||||||
{stateLoaderSkeleton ?
|
{stateLoaderSkeleton ?
|
||||||
Array.from({ length: 31 }).map((item,index) => (
|
Array.from({ length: 31 }).map((item,index) => (
|
||||||
<li className='skeleton-list' key={index}>
|
<li className='skeleton-list' key={index}>
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave'/>
|
<SkeletonBlock width='70px' height='8px' effect='wave'/>
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
</li>
|
</li>
|
||||||
)) :
|
)) :
|
||||||
styles.map((style, index) => {
|
styles.map((style, index) => {
|
||||||
|
|
|
@ -199,10 +199,11 @@ const StyleTemplates = inject("storeFocusObjects","storeTableSettings")(observer
|
||||||
{ stateLoaderSkeleton ?
|
{ stateLoaderSkeleton ?
|
||||||
Array.from({ length: 31 }).map((item,index) => (
|
Array.from({ length: 31 }).map((item,index) => (
|
||||||
<li className='skeleton-list' key={index}>
|
<li className='skeleton-list' key={index}>
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave'/>
|
<SkeletonBlock width='70px' height='8px' effect='wave'/>
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
</li>
|
</li>
|
||||||
)) :
|
)) :
|
||||||
styles.map((style, index) => {
|
styles.map((style, index) => {
|
||||||
|
|
|
@ -103,8 +103,13 @@
|
||||||
// Skeleton table
|
// Skeleton table
|
||||||
|
|
||||||
.table-styles .row div:not(:first-child) {
|
.table-styles .row div:not(:first-child) {
|
||||||
margin: 6px auto 0px;
|
margin: 2px auto 0px;
|
||||||
|
}
|
||||||
|
.table-styles li, .table-styles .row div {
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
.table-styles .row .skeleton-list{
|
.table-styles .row .skeleton-list{
|
||||||
display: block;
|
display: block;
|
||||||
|
width: 70px;
|
||||||
|
height: 50px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,10 +26,11 @@ const PageTable = props => {
|
||||||
{stateLoaderSkeleton ?
|
{stateLoaderSkeleton ?
|
||||||
Array.from({ length: 31 }).map((item,index) => (
|
Array.from({ length: 31 }).map((item,index) => (
|
||||||
<li className='skeleton-list' key={index}>
|
<li className='skeleton-list' key={index}>
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave'/>
|
<SkeletonBlock width='70px' height='8px' effect='wave'/>
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
</li>
|
</li>
|
||||||
)) :
|
)) :
|
||||||
styles.map((style, index) => {
|
styles.map((style, index) => {
|
||||||
|
|
|
@ -40,10 +40,11 @@ const StyleTemplates = inject("storeFocusObjects","storeTableSettings")(observer
|
||||||
{ stateLoaderSkeleton ?
|
{ stateLoaderSkeleton ?
|
||||||
Array.from({ length: 31 }).map((item,index) => (
|
Array.from({ length: 31 }).map((item,index) => (
|
||||||
<li className='skeleton-list' key={index}>
|
<li className='skeleton-list' key={index}>
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave'/>
|
<SkeletonBlock width='70px' height='8px' effect='wave'/>
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
<SkeletonBlock width='65px' height='10px' effect='wave' />
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
|
<SkeletonBlock width='70px' height='8px' effect='wave' />
|
||||||
</li>
|
</li>
|
||||||
)) :
|
)) :
|
||||||
styles.map((style, index) => {
|
styles.map((style, index) => {
|
||||||
|
|
Loading…
Reference in a new issue