Commit f41b312e authored by Aron Carroll's avatar Aron Carroll

Prevent tag input field from changing height

parent ea74bd2e
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
// http://mbenford.github.io/ngTagsInput/gettingstarted // http://mbenford.github.io/ngTagsInput/gettingstarted
@import "mixins/forms"; @import "mixins/forms";
@import "compass/css3/user-interface";
tags-input { tags-input {
.host { .host {
...@@ -19,8 +20,8 @@ tags-input { ...@@ -19,8 +20,8 @@ tags-input {
// Input // Input
.input { .input {
float: left; float: left;
margin-top: .1875em; margin-top: .2667em;
padding: .2em 0; padding: .2em 0 .2em;
outline: none; outline: none;
border: none !important; border: none !important;
background: none; background: none;
...@@ -35,7 +36,7 @@ tags-input { ...@@ -35,7 +36,7 @@ tags-input {
.tag-item { .tag-item {
float: left; float: left;
position: relative; position: relative;
padding: .154em 1.307em .154em .538em; padding: .0769em 1.307em .0769em .538em;
margin-top: .384em; margin-top: .384em;
margin-right: .384em; margin-right: .384em;
font-size: .866em; font-size: .866em;
...@@ -49,15 +50,16 @@ tags-input { ...@@ -49,15 +50,16 @@ tags-input {
} }
.remove-button { .remove-button {
@include user-select(none);
display: block; display: block;
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
width: 16px; width: .9412em;
font-size: 17px; font-size: 1.3077em;
font-weight: bold; font-weight: bold;
line-height: 1.2; line-height: 1;
text-align: center; text-align: center;
color: #585858; color: #585858;
cursor: pointer; cursor: pointer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment