aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-29 09:52:43 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-29 09:52:43 +0100
commitb355a45c35b366fe2ad56b461dd28b11956ef6d9 (patch)
tree0b13efb60df9921f702f0ec98272e5b973375ab1
parent403b0a24a5295281eedca8aebfaa334b3df6d7d8 (diff)
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
-rw-r--r--app/views/subscription/index.phtml2
-rw-r--r--p/themes/base-theme/template.css1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml
index b9e40988c..331e8244e 100644
--- a/app/views/subscription/index.phtml
+++ b/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>
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css
index c6ea40f66..a299a5ddf 100644
--- a/p/themes/base-theme/template.css
+++ b/p/themes/base-theme/template.css
@@ -75,6 +75,7 @@ input {
}
textarea,
input[type="file"],
+input.long,
input.extend:focus {
width: 300px;
}