Skip to content

Commit

Permalink
Update sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Panthevm committed Aug 4, 2023
1 parent 9d335e0 commit 3f2495a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/suitkin/components/sidebar/styles.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
(c [:w "240px"]
[:h "100vh"]
{:color "var(--basic-gray-7)"
:background-color "white"
:font-size "14px"
:display "flex"
:flex-flow "column"
Expand Down
2 changes: 1 addition & 1 deletion src/suitkin/components/sidebar/view.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
(defn menu-item
[item & [padding]]
[:div {:class s/menu-item :style {:padding-left (str padding "px")}}
[:div
[:a (select-keys item [:on-click :href :title])
[:img {:src (u/public-src (:img item)) :class (c [:pr "8px"])}]
[:span (:title item)]]
(when (:items item)
Expand Down

0 comments on commit 3f2495a

Please sign in to comment.