Browse Source

[ui] responsive file action buttons

encrypt 4 years ago
parent
commit
b00e1f0035
2 changed files with 3 additions and 3 deletions
  1. 2 2
      client/index.html
  2. 1 1
      client/style.css

+ 2 - 2
client/index.html

@@ -16,8 +16,8 @@
       <div id="upload">
 	<div id="upload-buttons">
 	  <input id="file-selector" type="file" name="file"/>
-	  <label class="stylish-button" for="file-selector">Select file to upload</label>
-	  <input class="stylish-button" id="upload-button" type="button" name="upload" value="upload"/>
+	  <label class="stylish-button" for="file-selector">Select file</label>
+	  <input class="stylish-button" id="upload-button" type="button" name="upload" value="Upload"/>
 	</div>
 	<progress id="progress-bar"></progress>
       </div>

+ 1 - 1
client/style.css

@@ -10,7 +10,7 @@ body {
 .stylish-button {
     background-color: #ec567c;
     margin: 0;
-    padding: 5px 20px;
+    padding: 1% 2%;
     border: 0;
     border-radius: 3px;
     color: #fff;