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
This commit is contained in:
Marien Fressinaud
2015-01-29 09:52:43 +01:00
parent 403b0a24a5
commit b355a45c35
2 changed files with 2 additions and 1 deletions

View File

@@ -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>

View File

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