Jelajahi Sumber

Fix link hover in receive text dialog

RobinLinus 4 tahun lalu
induk
melakukan
9a4b7ffb1a
2 mengubah file dengan 12 tambahan dan 1 penghapusan
  1. 1 1
      client/index.html
  2. 11 0
      client/styles.css

+ 1 - 1
client/index.html

@@ -61,7 +61,7 @@
         <svg class="icon logo">
             <use xlink:href="#wifi-tethering" />
         </svg>
-        <div id="displayName">The easiest way to transfer data across devices</div>
+        <div id="displayName" placeholder="The easiest way to transfer data across devices"></div>
         <div class="font-body2">You can be discovered by everyone on this network</div>
     </footer>
     <!-- Receive Dialog -->

+ 11 - 0
client/styles.css

@@ -369,7 +369,13 @@ x-dialog a{
     user-select: all;
 }
 
+#receiveTextDialog #text a {
+    cursor: pointer;
+}
 
+#receiveTextDialog #text a:hover {
+    text-decoration: underline;
+}
 
 /* Button */
 
@@ -552,6 +558,11 @@ input {
 }
 
 
+/* Generic placeholder */
+[placeholder]:empty:before {
+    content: attr(placeholder);
+}
+
 /* Toast */
 
 .toast-container {