From ebbe3e89c1cb45d52f12ee97bd9c9d31e2fdceb4 Mon Sep 17 00:00:00 2001 From: elhombretecla Date: Sun, 27 Mar 2016 16:13:51 +0200 Subject: [PATCH] add more history btn --- resources/styles/partials/sidebar-document-history.scss | 3 +++ src/uxbox/ui/workspace/sidebar/history.cljs | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/styles/partials/sidebar-document-history.scss b/resources/styles/partials/sidebar-document-history.scss index 24193957e..7ee1f061d 100644 --- a/resources/styles/partials/sidebar-document-history.scss +++ b/resources/styles/partials/sidebar-document-history.scss @@ -122,6 +122,9 @@ } + .btn-primary { + width: 100%; + } } diff --git a/src/uxbox/ui/workspace/sidebar/history.cljs b/src/uxbox/ui/workspace/sidebar/history.cljs index 38bd100b6..372081a19 100644 --- a/src/uxbox/ui/workspace/sidebar/history.cljs +++ b/src/uxbox/ui/workspace/sidebar/history.cljs @@ -99,7 +99,8 @@ [:div.pin-icon i/pin] [:span (str "Version " (:version item) " (" (dt/timeago (:created-at item)) ")")]]) - ])]]))) + [:li + [:a.btn-primary.btn-small "view more"]]])]]))) (def ^:static history-toolbox (mx/component