Skip to content

Commit 160f977

Browse files
committed
fix(app): small fixes
1 parent f2f2ff9 commit 160f977

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

src/services/lang.service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,14 @@ const LangService = function ($q, localStorageService) {
207207
}
208208

209209
function getUserLanguages() {
210-
if (userLanguages.length) { return userLanguages; }
210+
if (userLanguages.length) { return angular.copy(userLanguages); }
211211

212212
const ls = localStorageService.get('languages');
213213
const def = navigator.language || navigator.userLanguage;
214214

215215
userLanguages = ls || [def];
216216
if (!userLanguages.includes('en')) { userLanguages.push('en'); }
217-
return userLanguages;
217+
return angular.copy(userLanguages);
218218
}
219219

220220
function setUserLanguages(langs) {

src/styles/_general.scss

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ body {
1818
background: rgba(0,0,0,0.2);
1919
}
2020

21-
md-content {
22-
margin: 20px;
23-
background: transparent;
24-
}
25-
2621
.container {
2722
background: #f5f5f5;
2823
min-height: calc(100vh - 64px);
2924

3025
ui-view, ui-view > * {
3126
width: 100%;
3227
}
28+
29+
& > md-content {
30+
margin: 20px;
31+
background: transparent;
32+
}
3333
}
3434

3535
////
@@ -48,6 +48,10 @@ a, a.link {
4848
color: $lightGrey;
4949
}
5050

51+
small {
52+
font-size: 95%;
53+
}
54+
5155
.full-width {
5256
width: 100%;
5357
}

src/styles/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$softGrey: #e5e5e5;
2-
$lightGrey: rgba(0,0,0,0.34);
2+
$lightGrey: rgba(0,0,0,0.38);
33
$darkGrey: rgba(0,0,0,.87);
44

55
$primary: #2980b9

0 commit comments

Comments
 (0)