From 45b5dcc6f46c184863548a103e3a1d19de68b927 Mon Sep 17 00:00:00 2001 From: Austin Date: Tue, 28 Jun 2016 20:43:50 -0500 Subject: Switch copy button styling code to CSS file --- static/css/pomf.css | 3 +++ static/js/app.js | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/css/pomf.css b/static/css/pomf.css index 9bc5852..ae4e75e 100644 --- a/static/css/pomf.css +++ b/static/css/pomf.css @@ -231,6 +231,9 @@ nav > ul > li:last-child:after { .error#upload-filelist { color: #891A18; } +button.upload-clipboard-btn { + height: 16px; +} .error#upload-filelist .progress-percent { color: #B94A48; } diff --git a/static/js/app.js b/static/js/app.js index 44c8453..27a9353 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -85,7 +85,6 @@ document.addEventListener('DOMContentLoaded', function () { copy.className = 'upload-clipboard-btn'; var glyph = document.createElement('img'); glyph.src = 'img/glyphicons-512-copy.png'; - glyph.style = 'height:16px'; copy.appendChild(glyph); url.appendChild(copy); copy.addEventListener("click", function(event) { -- cgit v1.2.3