You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2015/04/10 00:46:01 UTC

fauxton commit: updated refs/heads/master to 93aa09f

Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master f95b7a07f -> 93aa09fe2


Prevent overlap of text and arrows in styled-select

Super minor thing. If an option in a styled select box
(.styled-select) is quite long, it will overlap the down arrow
overlay which looks kind of bad. Unfortunately browsers are
limited in that you can't put an ellipsis, so this just adds
padding instead to cut off the text, which still looks a lot
better.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/93aa09fe
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/93aa09fe
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/93aa09fe

Branch: refs/heads/master
Commit: 93aa09fe288e910d2b87021f7968559058107990
Parents: f95b7a0
Author: Ben Keen <be...@gmail.com>
Authored: Thu Apr 9 11:20:26 2015 -0700
Committer: Ben Keen <be...@gmail.com>
Committed: Thu Apr 9 15:48:11 2015 -0700

----------------------------------------------------------------------
 app/addons/components/assets/less/styled-select.less | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/93aa09fe/app/addons/components/assets/less/styled-select.less
----------------------------------------------------------------------
diff --git a/app/addons/components/assets/less/styled-select.less b/app/addons/components/assets/less/styled-select.less
index 4f40aec..11ba404 100644
--- a/app/addons/components/assets/less/styled-select.less
+++ b/app/addons/components/assets/less/styled-select.less
@@ -24,10 +24,10 @@
   appearance: none;
   background-color: #e6e6e6;
   border: 1px solid #b3b3b3;
-  height: 45px;
   width: 200px;
   text-indent: 4px;
   height: 46px;
+  padding-right: 35px;
 }
 
 .styled-select select:-moz-focusring {