From: Evan Prodromou Date: Wed, 22 Dec 2010 21:08:07 +0000 (-0800) Subject: Move bookmark CSS to its own file X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1faaaed72bbf62f3701da8a79caf0ad9950ab8e0;p=quix0rs-gnu-social.git Move bookmark CSS to its own file --- 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; } +