fix tag button overflow

fix tag button overflow

	modified:   app/assets/stylesheets/tag.scss
	modified:   app/assets/templates/tag_following_action_tpl.jst.hbs
This commit is contained in:
SansPseudoFix 2015-03-10 15:36:34 +01:00
parent dd9c8d5632
commit 26ad537a18
2 changed files with 11 additions and 1 deletions

View file

@ -35,4 +35,14 @@ h1.tag {
} }
} }
} }
.span7 {
.tag-following-action {
max-width: 100%;
input[type="submit"] {
overflow-x: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
}
}
} }

View file

@ -1,4 +1,4 @@
<div class="pull-right"> <div class="pull-right tag-following-action">
<form accept-charset="UTF-8" action="/tag_followings" method="post"> <form accept-charset="UTF-8" action="/tag_followings" method="post">
<input type="submit" class="btn <input type="submit" class="btn
{{#if tag_is_followed }} {{#if tag_is_followed }}