0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 10:09:03 -05:00

Merge pull request #3 from Monogramm/svg-project-th

add svg img th
This commit is contained in:
Mathieu Brunot 2019-02-18 00:53:15 +01:00 committed by GitHub
commit 270066239e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -317,8 +317,15 @@
border-top-left-radius: $br-medium;
border-top-right-radius: $br-medium;
height: 70%;
overflow: hidden;
position: relative;
width: 100%;
.img-th {
height: auto;
width: 100%;
}
}
// MULTISELECT OPTIONS BAR

View file

@ -148,7 +148,7 @@
[:div.grid-item-th
{:style {:background-image (str "url('" url "')")}}]
[:div.grid-item-th
{:style {:background-image "url('/images/project-placeholder.svg')"}}]))
[:img.img-th {:src "/images/project-placeholder.svg" :alt "Project title"}]]))
;; --- Grid Item
@ -251,4 +251,3 @@
[:section.dashboard-content {}
(menu state projects-map)
(grid state projects-map)]]))