mirror of
https://github.com/penpot/penpot.git
synced 2025-02-23 23:35:58 -05:00
🐛 Fix some visual errors
This commit is contained in:
parent
6592456085
commit
0a8dfde0a2
5 changed files with 75 additions and 61 deletions
|
@ -48,6 +48,7 @@
|
||||||
color: $color-black;
|
color: $color-black;
|
||||||
display: block;
|
display: block;
|
||||||
font-size: $fs14;
|
font-size: $fs14;
|
||||||
|
font-weight: 400;
|
||||||
padding: $size-2 $size-4;
|
padding: $size-2 $size-4;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
a {
|
a {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
@media #{$bp-max-1366} {
|
@media #{$bp-max-1366} {
|
||||||
height: 200px;
|
height: 200px;
|
||||||
|
@ -103,6 +104,10 @@
|
||||||
width: 90px;
|
width: 90px;
|
||||||
height: 90px;
|
height: 90px;
|
||||||
}
|
}
|
||||||
|
.info-wrapper {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr auto;
|
||||||
|
}
|
||||||
|
|
||||||
.item-info {
|
.item-info {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
@ -132,7 +137,6 @@
|
||||||
|
|
||||||
span.date {
|
span.date {
|
||||||
color: $color-gray-30;
|
color: $color-gray-30;
|
||||||
font-size: $fs13;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -203,6 +207,9 @@
|
||||||
.project-th-actions {
|
.project-th-actions {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.selected {
|
.selected {
|
||||||
|
@ -213,14 +220,12 @@
|
||||||
|
|
||||||
.project-th-actions {
|
.project-th-actions {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
bottom: 14px;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
position: absolute;
|
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 100%;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: $color-black;
|
color: $color-black;
|
||||||
|
@ -238,7 +243,8 @@
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 30px;
|
||||||
|
margin-top: 20px;
|
||||||
|
|
||||||
> svg {
|
> svg {
|
||||||
fill: $color-gray-60;
|
fill: $color-gray-60;
|
||||||
|
|
|
@ -139,6 +139,7 @@
|
||||||
color: $color-gray-60;
|
color: $color-gray-60;
|
||||||
@include text-ellipsis;
|
@include text-ellipsis;
|
||||||
width: 130px;
|
width: 130px;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
|
|
@ -250,6 +250,9 @@
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: $color-gray-60;
|
color: $color-gray-60;
|
||||||
margin-left: 0.75rem;
|
margin-left: 0.75rem;
|
||||||
|
@media (max-width: 760px) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-actions {
|
.project-actions {
|
||||||
|
@ -299,6 +302,9 @@
|
||||||
line-height: 1rem;
|
line-height: 1rem;
|
||||||
font-size: $fs14;
|
font-size: $fs14;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
@media (max-width: 880px) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-table {
|
.dashboard-table {
|
||||||
|
|
|
@ -302,6 +302,7 @@
|
||||||
[:& grid-item-thumbnail {:file file}])
|
[:& grid-item-thumbnail {:file file}])
|
||||||
(when (and (:is-shared file) (not library-view?))
|
(when (and (:is-shared file) (not library-view?))
|
||||||
[:div.item-badge i/library])
|
[:div.item-badge i/library])
|
||||||
|
[:div.info-wrapper
|
||||||
[:div.item-info
|
[:div.item-info
|
||||||
(if (:edition @local)
|
(if (:edition @local)
|
||||||
[:& inline-edition {:content (:name file)
|
[:& inline-edition {:content (:name file)
|
||||||
|
@ -327,8 +328,7 @@
|
||||||
:on-edit on-edit
|
:on-edit on-edit
|
||||||
:on-menu-close on-menu-close
|
:on-menu-close on-menu-close
|
||||||
:origin origin
|
:origin origin
|
||||||
:dashboard-local dashboard-local}])]]]]
|
:dashboard-local dashboard-local}])]]]]]))
|
||||||
))
|
|
||||||
|
|
||||||
|
|
||||||
(mf/defc grid
|
(mf/defc grid
|
||||||
|
|
Loading…
Add table
Reference in a new issue