Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 865a583

Browse files
committedOct 23, 2015
Merge pull request #439 from appirio-tech/feature/tom-settings-v2
changes round 2
2 parents a8b8d01 + 31a89fa commit 865a583

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed
 

‎app/settings/edit-profile/edit-profile.jade

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
.buttons
1818
button.file-upload.tc-btn.tc-btn-primary.tc-btn-s
1919
span Change Image
20-
input(type="file", name="image", on-file-change)
20+
input(type="file", name="image", on-file-change="on-file-change")
2121

2222
.file-delete
2323
button.tc-btn.tc-btn-secondary.tc-btn-s(ng-click="vm.deleteImage()", type="button") Delete
@@ -43,8 +43,9 @@
4343

4444
.bio
4545
.form-label(style="width: 100%;") short bio
46-
span(style="float:right;") {{vm.userData.description.length || 0}}/256
47-
textarea.tc-input(name="description", ng-model="vm.userData.description", data-ng-trim="false", maxlength="256")
46+
span.char-count {{vm.userData.description.length || 0}}
47+
span.grey  / 256
48+
textarea.tc-input(name="description", ng-model="vm.userData.description", data-ng-trim="false", maxlength="256", placeholder="E.g., I'm JS architect interested in creating new data interchange formats. I love sci-fi and riding my motorcycle.")
4849

4950
.settings-section.tracks
5051
.section-info

‎assets/css/settings/edit-profile.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
border-radius: 50%;
1212
border: 1px solid #d1d3d4;
1313
margin-right: 20px;
14-
width: 100px;
14+
width: 120px;
15+
padding: 2px;
1516
}
1617

1718
.upload-image {

‎assets/css/settings/settings.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
font-size: 15px;
4242
font-family: 'Merriweather Sans';
4343
font-weight: 400;
44+
padding-left: 15px;
4445
}
4546
input:focus, textarea:focus {
4647
outline: 1px solid #4cb5ff;
@@ -178,6 +179,15 @@
178179
color: #0096ff;
179180
float: right;
180181
}
182+
183+
.char-count {
184+
font-family: 'Source Sans Pro';
185+
float: right;
186+
}
187+
188+
.grey {
189+
color: #a3a3ae;
190+
}
181191
}
182192
.form-field {
183193
@include form-field;

0 commit comments

Comments
 (0)
This repository has been archived.