Browse Source

fix styling of link to paste

Daniel Sheffield 1 year ago
parent
commit
ebce95de42
2 changed files with 3 additions and 4 deletions
  1. 1 1
      app/rest/templates/clip-form.tpl
  2. 2 3
      app/rest/templates/paste.tpl

+ 1 - 1
app/rest/templates/clip-form.tpl

@@ -3,7 +3,7 @@
 % disabled = (setdefault("disabled", False) or "") and 'disabled="true"'
 <form id="paste" method="{{ method }}" action="{{ action }}">
   <style>
-  select::-webkit-scrollbar {
+textarea::-webkit-scrollbar {
   width: 11px;
 }
 textarea {

+ 2 - 3
app/rest/templates/paste.tpl

@@ -32,10 +32,9 @@ body {
         </div>
       </div>
       <div class="pure-u-1">
-        <p>
+        <div class="pure-button" style="margin: 1em 0 1em; background: #f5ab9e; color: #8c3a2b;">
           <a href="{{!link}}">{{ link }}</a>
-        </p>
-      </div>
+        </div>
       <div class="pure-u-1">
 {{!form}}
 <form id="download" method="get" action="{{ download }}">