mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 06:58:58 -05:00
🐛 Fix file renaming on dashboard.
This commit is contained in:
parent
f0b9837407
commit
40e54dbbd4
2 changed files with 34 additions and 31 deletions
|
@ -90,25 +90,25 @@
|
|||
}
|
||||
|
||||
.item-info {
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
left: 0;
|
||||
padding: $small;
|
||||
position: absolute;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
|
||||
h3 {
|
||||
border: 1px solid transparent;
|
||||
color: $color-gray-60;
|
||||
font-size: $fs15;
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
height: 27px;
|
||||
padding-right: $small;
|
||||
text-overflow: ellipsis;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
line-height: 27px;
|
||||
}
|
||||
|
||||
span.date {
|
||||
|
@ -121,8 +121,11 @@
|
|||
|
||||
.edit-wrapper {
|
||||
.element-title {
|
||||
padding: 3px;
|
||||
padding: 0px;
|
||||
height: 25px;
|
||||
color: $color-gray-60;
|
||||
font-size: $fs15;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -168,25 +171,25 @@
|
|||
// PROJECTS, ELEMENTS & ICONS GRID
|
||||
&.project-th {
|
||||
background-color: $color-white;
|
||||
// border: 2px solid $color-gray-10;
|
||||
|
||||
&:hover {
|
||||
border-color: $color-primary;
|
||||
|
||||
.project-th-actions {
|
||||
display: flex;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.project-th-actions {
|
||||
align-items: center;
|
||||
bottom: 4px;
|
||||
display: none;
|
||||
left: 0;
|
||||
justify-content: flex-end;
|
||||
padding: $small;
|
||||
bottom: 2px;
|
||||
opacity: 0;
|
||||
display: flex;
|
||||
right: 5px;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
width: 15px;
|
||||
height: 30px;
|
||||
|
||||
svg {
|
||||
fill: $color-gray-20;
|
||||
|
@ -206,8 +209,6 @@
|
|||
|
||||
&.menu {
|
||||
margin-right: 0;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: flex-end;
|
||||
|
|
|
@ -152,7 +152,9 @@
|
|||
(mf/deps file)
|
||||
(fn [event]
|
||||
(dom/stop-propagation event)
|
||||
(swap! local assoc :edition true)))
|
||||
(swap! local assoc
|
||||
:edition true
|
||||
:menu-open false)))
|
||||
|
||||
]
|
||||
[:div.grid-item.project-th {:on-click on-navigate}
|
||||
|
|
Loading…
Add table
Reference in a new issue