Compare commits

...

3 Commits

Author SHA1 Message Date
Andrey Antukh
8d8f203b8a Merge pull request #5204 from penpot/alotor-bugfix-import
🐛 Fix problem with imports
2024-10-25 14:32:41 +02:00
alonso.torres
f40ffacfbd 🐛 Fix problem with imports 2024-10-25 13:34:40 +02:00
luisddm
ae435f67a5 🐛 Fix intentation and ellipsis in the left sidebar when inspector is activated in viewer mode 2024-10-24 14:37:39 +02:00
4 changed files with 2 additions and 5 deletions

View File

@@ -8,7 +8,6 @@
.workspace {
@extend .new-scrollbar;
--layer-indentation-size: calc(#{$s-4} * 6);
width: 100vw;
height: 100vh;
max-height: 100vh;

View File

@@ -55,7 +55,6 @@ $assets-button-width: $s-28;
@include bodySmallTypography;
@include removeInputStyle;
flex-grow: 1;
max-width: calc(var(--parent-size) - (var(--depth) * var(--layer-indentation-size)));
margin: 0;
color: var(--layer-row-foreground-color);
}

View File

@@ -7,6 +7,7 @@
@import "refactor/common-refactor.scss";
.layer-row {
--layer-indentation-size: calc(#{$s-4} * 6);
display: flex;
flex-direction: row;
align-items: center;

View File

@@ -8,7 +8,6 @@
(:require
[app.common.colors :as cc]
[app.common.data :as d]
[app.common.data.macros :as dm]
[app.common.geom.matrix :as gmt]
[app.common.geom.point :as gpt]
[app.common.svg.path :as svg.path]
@@ -236,11 +235,10 @@
(= type :frame)
(let [;; Old .penpot files doesn't have "g" nodes. They have a clipPath reference as a node attribute
to-url #(dm/str "url(#" % ")")
frame-clip-rect-node (->> (find-all-nodes node :defs)
(mapcat #(find-all-nodes % :clipPath))
(filter #(= (to-url (:id (:attrs %))) (:clip-path node-attrs)))
(mapcat #(find-all-nodes % #{:rect :path}))
(filter #(contains? (:attrs %) :width))
(first))
;; The nodes with the "frame-background" class can have some anidation depending on the strokes they have