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:
parent
91eb59696c
commit
e86038d52f
2 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue