mirror of
https://github.com/penpot/penpot.git
synced 2026-05-20 07:23:42 +00:00
🐛 Fix delete page icon being clipped (#9685)
This commit is contained in:
parent
fc36fb0959
commit
0300058605
@ -220,10 +220,11 @@
|
||||
name]
|
||||
[:div {:class (stl/css :page-actions)}
|
||||
(when (and deletable? (not read-only?))
|
||||
[:> icon-button* {:variant "ghost"
|
||||
[:> icon-button* {:variant "action"
|
||||
:aria-label (tr "modals.delete-page.title")
|
||||
:on-click on-delete
|
||||
:icon-size "s"
|
||||
:icon-class (stl/css :page-delete-button-icon)
|
||||
:icon i/delete}])]])])]])))
|
||||
|
||||
;; --- Page Item Wrapper
|
||||
|
||||
@ -55,6 +55,10 @@
|
||||
margin-bottom: deprecated.$s-12;
|
||||
}
|
||||
|
||||
.page-delete-button-icon {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.page-element {
|
||||
@include deprecated.body-small-typography;
|
||||
|
||||
@ -102,23 +106,6 @@
|
||||
height: deprecated.$s-32;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
button {
|
||||
@include deprecated.button-style;
|
||||
@include deprecated.flex-center;
|
||||
|
||||
width: deprecated.$s-24;
|
||||
height: 100%;
|
||||
opacity: deprecated.$op-0;
|
||||
|
||||
svg {
|
||||
@extend %button-icon-small;
|
||||
|
||||
color: transparent;
|
||||
fill: none;
|
||||
stroke: var(--icon-foreground);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.element-name {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user