0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-23 07:16:07 -05:00

🐛 Fixes minor problems with team settings

This commit is contained in:
alonso.torres 2020-10-28 11:01:06 +01:00 committed by Hirunatan
parent 34a9b852ef
commit c2aa0b97ee
2 changed files with 6 additions and 2 deletions

View file

@ -130,6 +130,7 @@
.label { .label {
font-size: 13px; font-size: 13px;
color: $color-gray-30;
} }
} }

View file

@ -56,7 +56,10 @@
[:header.dashboard-header [:header.dashboard-header
[:div.dashboard-title [:div.dashboard-title
[:h1 (t locale "labels.members")]] [:h1 (cond
members-section? (t locale "labels.members")
settings-section? (t locale "labels.settings")
nil)]]
[:nav [:nav
[:ul [:ul
[:li {:class (when members-section? "active")} [:li {:class (when members-section? "active")}
@ -285,7 +288,7 @@
[:div.label (t locale "dashboard.team-members")] [:div.label (t locale "dashboard.team-members")]
[:div.owner [:div.owner
[:span.icon [:img {:src (cfg/resolve-media-path (:photo-uri profile))}]] [:span.icon [:img {:src (cfg/resolve-media-path (:photo-uri profile))}]]
[:span.text (:fullname profile)]] [:span.text (str (:fullname profile) " (" (t locale "labels.owner") ")") ]]
[:div.summary [:div.summary
[:span.icon i/user] [:span.icon i/user]
[:span.text (t locale "dashboard.num-of-members" (count members-map))]]] [:span.text (t locale "dashboard.num-of-members" (count members-map))]]]