Sfoglia il codice sorgente

Change behaviour of #add_rss input.extend

UI was frustrating when input had the focus: we needed to click elsewhere to
be able to open the next dropdown.

See https://github.com/FreshRSS/FreshRSS/issues/777
Marien Fressinaud 11 anni fa
parent
commit
b355a45c35
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1 1
      app/views/subscription/index.phtml
  2. 1 0
      p/themes/base-theme/template.css

+ 1 - 1
app/views/subscription/index.phtml

@@ -7,7 +7,7 @@
 
 	<form id="add_rss" method="post" action="<?php echo _url('feed', 'add'); ?>" autocomplete="off">
 		<div class="stick">
-			<input type="url" name="url_rss" class="extend" placeholder="<?php echo _t('sub.feed.add'); ?>" />
+			<input type="url" name="url_rss" class="long" placeholder="<?php echo _t('sub.feed.add'); ?>" />
 			<div class="dropdown">
 				<div id="dropdown-cat" class="dropdown-target"></div>
 

+ 1 - 0
p/themes/base-theme/template.css

@@ -75,6 +75,7 @@ input {
 }
 textarea,
 input[type="file"],
+input.long,
 input.extend:focus {
 	width: 300px;
 }