Skip to content

Commit

Permalink
line-height fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matiastucci committed Aug 4, 2015
1 parent ab52b58 commit 800210c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
section.chats {
/*max-width: 450px;*/
/*margin: 50px auto;*/
}
section.chats div {
max-width: 255px;
word-wrap: break-word;
Expand Down Expand Up @@ -87,4 +83,8 @@ p.notification{
background: white;
border-bottom-right-radius: 10px;
-webkit-transform: translate(-30px, -2px);
}

.username-list {
line-height: 38px;
}
1 change: 0 additions & 1 deletion js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ angular.module('chat.controllers', [])

if($stateParams.username){
$scope.data.message = "@" + $stateParams.username;
document.getElementById("usr-input").blur();
document.getElementById("msg-input").focus();
}

Expand Down
2 changes: 1 addition & 1 deletion templates/tab-chats.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<form name="sendMessageForm" ng-submit="sendMessage(data.message)" novalidate>
<ion-footer-bar class="bar-stable item-input-inset message-footer" keyboard-attach>
<label class="item-input-wrapper">
<input ng-change="updateTyping()" ng-model="data.message" class="input-message" type="text" placeholder="Message">
<input id="msg-input" ng-change="updateTyping()" ng-model="data.message" class="input-message" type="text" placeholder="Message" autofocus>
</label>
<div class="footer-btn-wrap">
<button class="button button-icon icon ion-ios-paperplane footer-btn" type="submit"
Expand Down
2 changes: 1 addition & 1 deletion templates/tab-users.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="list">
<a ng-repeat="username in data" nav-transition="none" class="item item-avatar" href="#/tab/chats/{{username}}">
<img src="http://lorempixel.com/60/60/people">
<h2>{{username}}</h2>
<h2 class="username-list">{{username}}</h2>
</a>
</div>

Expand Down

0 comments on commit 800210c

Please sign in to comment.