From cc913db9d0067766ced68c191591b097d56c0b41 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson <frjo@xdeb.org> Date: Fri, 27 Mar 2020 06:51:12 +0100 Subject: [PATCH] Add narrow style to button. --- hypha/static_src/src/javascript/apply/submission-form-copy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypha/static_src/src/javascript/apply/submission-form-copy.js b/hypha/static_src/src/javascript/apply/submission-form-copy.js index 242659764..1959560e9 100644 --- a/hypha/static_src/src/javascript/apply/submission-form-copy.js +++ b/hypha/static_src/src/javascript/apply/submission-form-copy.js @@ -38,7 +38,7 @@ if (document.queryCommandSupported && document.queryCommandSupported('copy')) { var $button = $('<button/>') .text('Copy questions to clipboard') - .addClass('link link--button js-clipboard-button') + .addClass('link link--button link--button--narrow js-clipboard-button') .css({'display': 'block', 'margin-left': 'auto'}) .attr('title', 'Copies all the questions to the clipboard in plain text.'); $('.application-form').before($button); -- GitLab