Skip to content

Commit

Permalink
✨ Improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerluiz committed Aug 20, 2020
1 parent 7787ec1 commit 12dae45
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
8 changes: 5 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,8 @@ function createWindow() {
),
{
search:
'page=settings/settings&icon=settings&hide=btn-minimize,btn-maximize',
'page=settings/settings&icon=settings&hide=btn-minimize,btn-maximize&title=' +
__.trans('LABEL_SETTINGS'),
}
)
}
Expand Down Expand Up @@ -1184,7 +1185,7 @@ function createWindow() {
),
{
search:
'page=settings/last-fm-login&icon=music_note&hide=btn-minimize,btn-maximize',
'page=settings/last-fm-login&icon=music_note&hide=btn-minimize,btn-maximize&title=Last.FM Login',
}
)
}
Expand Down Expand Up @@ -1250,7 +1251,8 @@ function createWindow() {
),
{
search:
'page=lyrics/lyrics&icon=music_note&hide=btn-minimize,btn-maximize',
'page=lyrics/lyrics&icon=music_note&hide=btn-minimize,btn-maximize&title=' +
__.trans('LABEL_LYRICS'),
}
)

Expand Down
6 changes: 4 additions & 2 deletions src/pages/settings/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,9 @@
</div>
</td>
</tr>
<tr class="windows10-specific">
<tr
class="windows-specific windows10-specific"
>
<td>
<span
i18n="i18n_LABEL_SETTINGS_TAB_INTEGRATION_WINDOWS10_MEDIA_SERVICE"
Expand All @@ -712,7 +714,7 @@
</tr>
<tr
id="windows-10-show-info"
class="windows10-specific"
class="windows-specific windows10-specific"
>
<td>
<span
Expand Down
4 changes: 4 additions & 0 deletions src/pages/shared/window-buttons/window-buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ html,
body {
margin: 0;
padding: 0;
}

.tiny-margin {
margin-right: 6px !important;
}
5 changes: 4 additions & 1 deletion src/pages/shared/window-buttons/window-buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
<div class="row">
<div class="col s9 left-align">
<div class="title">
<i class="material-icons tiny" id="icon"></i>
<i
class="material-icons tiny tiny-margin left"
id="icon"
></i>
<span id="window-title"></span>
</div>
</div>
Expand Down

0 comments on commit 12dae45

Please sign in to comment.