Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-08-10 14:51:08 +0300
committerMorris Jobke <hey@morrisjobke.de>2016-08-10 14:51:08 +0300
commit9a8fcae3d5d230a96b9b9e884fb9d165283a2fef (patch)
tree3ee309ec3df741732f18a75eaa791fb55fc428e5 /js/notification.js
parentbc457fce2b1cf649cccdb26a6255d95e806d9e97 (diff)
Fix style of notification
* normal line-height * no gray background on hover * underline on hover to detect that it is clickable * pull primary buttons to right * white color for primary button instead of grey (looked disabled) * for https://github.com/nextcloud/server/issues/735
Diffstat (limited to 'js/notification.js')
-rw-r--r--js/notification.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/notification.js b/js/notification.js
index 8cf42d5..8a8e8cb 100644
--- a/js/notification.js
+++ b/js/notification.js
@@ -124,7 +124,7 @@
_.each(actionsData, function(actionData) {
// FIXME: use handlebars template
actions.append(
- '<button class="action-button' + (actionData.primary ? ' primary': '') + '" data-type="' + escapeHTML(actionData.type) + '" ' +
+ '<button class="action-button' + (actionData.primary ? ' primary pull-right': '') + '" data-type="' + escapeHTML(actionData.type) + '" ' +
'data-href="'+escapeHTML(actionData.link)+'">'+escapeHTML(actionData.label)+'</button>'
);
// TODO create event handler on click for given action type