From 1faaaed72bbf62f3701da8a79caf0ad9950ab8e0 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 22 Dec 2010 13:08:07 -0800 Subject: [PATCH] Move bookmark CSS to its own file --- plugins/Bookmark/BookmarkPlugin.php | 3 +-- plugins/Bookmark/bookmark.css | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 plugins/Bookmark/bookmark.css diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index 9b8addf632..83d9e131d3 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -107,8 +107,7 @@ class BookmarkPlugin extends Plugin function onEndShowStyles($action) { - $action->style('.bookmark_tags li { display: inline; }'); - $action->style('.bookmark_mentions li { display: inline; }'); + $action->cssLink('plugins/Bookmark/bookmark.css'); return true; } diff --git a/plugins/Bookmark/bookmark.css b/plugins/Bookmark/bookmark.css new file mode 100644 index 0000000000..ed9d0e07ff --- /dev/null +++ b/plugins/Bookmark/bookmark.css @@ -0,0 +1,3 @@ +.bookmark_tags li { display: inline; } +.bookmark_mentions li { display: inline; } + -- 2.39.5