Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
b355a45c35

+ 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">
 	<form id="add_rss" method="post" action="<?php echo _url('feed', 'add'); ?>" autocomplete="off">
 		<div class="stick">
 		<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 class="dropdown">
 				<div id="dropdown-cat" class="dropdown-target"></div>
 				<div id="dropdown-cat" class="dropdown-target"></div>
 
 

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

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