mirror of
https://github.com/penpot/penpot.git
synced 2026-08-14 00:38:42 +00:00
🐛 Fix libraries grid layout (#11226)
This commit is contained in:
parent
732162e720
commit
e5c80edbf3
@ -480,7 +480,8 @@
|
||||
[:li {:class (stl/css-case :grid-item true
|
||||
:project-thumbnail true
|
||||
:library-item library-view?)}
|
||||
[:div {:class (stl/css-case :is-selected selected?)
|
||||
[:div {:class (stl/css-case :is-selected selected?
|
||||
:grid-item-button true)
|
||||
:ref node-ref
|
||||
:role "button"
|
||||
:title (:name file)
|
||||
|
||||
@ -180,6 +180,12 @@ $thumbnail-default-height: px2rem(168);
|
||||
}
|
||||
}
|
||||
|
||||
.grid-item-button {
|
||||
inline-size: 100%;
|
||||
block-size: 100%;
|
||||
padding: 0 px2rem(6);
|
||||
}
|
||||
|
||||
.project-thumbnail-actions {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@ -328,7 +334,7 @@ $thumbnail-default-height: px2rem(168);
|
||||
// ─── LIBRARY ───────────────────────────────────
|
||||
|
||||
.library-thumbnail {
|
||||
border-radius: $br-4;
|
||||
border-radius: $br-8;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background-color: var(--color-background-tertiary);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user