Skip to content

Commit a27df53

Browse files
committed
Tagsinput fix
1 parent a148cc4 commit a27df53

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

css/flat-ui.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,7 @@ textarea,
12461246
overflow: hidden;
12471247
padding: 6px 13px 6px 19px;
12481248
position: relative;
1249+
vertical-align: middle;
12491250
display: inline-block;
12501251
zoom: 1;
12511252
*display: inline;
@@ -1273,7 +1274,7 @@ textarea,
12731274
outline: 0;
12741275
margin-right: 5px;
12751276
margin-bottom: 5px;
1276-
width: 1px; }
1277+
width: 12px; }
12771278

12781279
.tagsinput-remove-link {
12791280
bottom: 0;
@@ -1294,7 +1295,10 @@ textarea,
12941295
color: white; }
12951296

12961297
.tagsinput-add-container {
1297-
display: inline; }
1298+
vertical-align: middle;
1299+
display: inline-block;
1300+
zoom: 1;
1301+
*display: inline; }
12981302

12991303
.tagsinput-add {
13001304
background-color: #bbc3cb;
@@ -1832,7 +1836,7 @@ input.todo-search-field {
18321836
footer {
18331837
background-color: #eceff1;
18341838
color: #bdc1c5;
1835-
padding: 45px 0; }
1839+
padding: 26px 0; }
18361840
footer a {
18371841
color: #a1a4a7;
18381842
font-weight: 700; }

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,10 @@ <h3>Subscribe</h3>
737737
Subscribe to designmodo news and updates to stay tuned on great designs.<br/>
738738
Go to: <a href="http://designmodo.com/flat-free" target="_blank">designmodo.com/flat-free</a>
739739
</p>
740-
<p style="margin-top:20px"><a href="https://twitter.com/share" class="twitter-share-button" data-url="http://designmodo.com/flat-free/" data-text="Flat UI Free - PSD&amp;HTML User Interface Kit" data-via="designmodo" data-size="large">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></p>
740+
<p class="ptl">
741+
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://designmodo.com/flat-free/" data-text="Flat UI Free - PSD&amp;HTML User Interface Kit" data-via="designmodo" data-size="large">Tweet</a>
742+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
743+
</p>
741744
<h6 class="footer-copyright">Designmodo &copy; 2013</h6>
742745
</div>
743746

sass/modules/_tagsinput.sass

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
overflow: hidden
1818
padding: 6px 13px 6px 19px
1919
position: relative
20+
vertical-align: middle
2021
+inline-block
2122
+transition(.14s linear)
2223
&:hover
@@ -41,7 +42,7 @@
4142
outline: 0
4243
margin-right: 5px
4344
margin-bottom: 5px
44-
width: 1px
45+
width: 12px
4546

4647
.tagsinput-remove-link
4748
bottom: 0
@@ -64,7 +65,8 @@
6465
color: $inverse
6566

6667
.tagsinput-add-container
67-
display: inline
68+
vertical-align: middle
69+
+inline-block
6870

6971
.tagsinput-add
7072
background-color: scale-color(desaturate($base, 15%), $lightness: 67%)

0 commit comments

Comments
 (0)