mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 14:42:56 +00:00
Add CSS to deal with margin before the Sub Context Menu titles
This commit is contained in:
@@ -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}}])
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user