mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
♻️ Replacing the old Pencil loader with the new Loader component
This commit is contained in:
parent
e5daa00d73
commit
af5a189d04
26 changed files with 148 additions and 193 deletions
|
@ -278,16 +278,6 @@ $thumbnail-default-height: $s-168; // Default width
|
|||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
svg {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
:global(svg#loader-pencil) {
|
||||
stroke: $db-quaternary;
|
||||
width: calc(var(--th-width, #{$thumbnail-default-width}) * 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
// LIBRARY VIEW
|
||||
|
@ -381,3 +371,9 @@ $thumbnail-default-height: $s-168; // Default width
|
|||
grid-template-columns: auto 1fr;
|
||||
gap: $s-8;
|
||||
}
|
||||
|
||||
.grid-loader {
|
||||
width: calc(var(--th-width, #{$thumbnail-default-width}) * 0.25);
|
||||
height: 100%;
|
||||
align-self: center;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue