0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Add CSS to deal with margin before the Sub Context Menu titles

This commit is contained in:
Akshay Gupta 2024-06-07 01:27:18 +05:30
parent 91eb59696c
commit e86038d52f
No known key found for this signature in database
2 changed files with 7 additions and 3 deletions

View file

@ -144,9 +144,9 @@
:dimensions (attributes->actions
apply-dimensions-token
[{:title "\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0Spacing" :submenu :spacing}
{:title "\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0Sizing" :submenu :sizing}
{:title "\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0Border Radius" :submenu :border-radius}
[{:title "Spacing" :submenu :spacing}
{:title "Sizing" :submenu :sizing}
{:title "Border Radius" :submenu :border-radius}
;; TODO: BORDER_WIDTH {:title "Border Width" :attributes #{:width} :children true}
{:title "x" :attributes #{:x}}
{:title "y" :attributes #{:y}}])

View file

@ -32,6 +32,10 @@
}
}
.context-list > li:nth-child(-n + 3) > span:first-of-type {
margin: 30px;
}
// TODO: Allow selected items wihtout an icon for the context menu
.empty-icon {
width: 0;