Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
frankhale committed Aug 4, 2020
1 parent dcdc15c commit 96c0afc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ The Recently Played videos are limited to 30 videos.
## Folder Layout

- server: Blazor server-side project
- client: Electron and NW.js drivers (soon [Web Window support](https://blog.stevensanderson.com/2019/11/18/2019-11-18-webwindow-a-cross-platform-webview-for-dotnet-core/))
- client: Electron and NW.js drivers

## Author(s)

Frank Hale <frankhale@gmail.com>

## Date

28 March 2019
4 August 2020

## License

Expand Down
4 changes: 2 additions & 2 deletions client/electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ let win;

function createWindow() {
win = new BrowserWindow({
width: 1024,
height: 768,
width: 1280,
height: 720,
icon: __dirname + "/toby.png"
});
win.removeMenu();
Expand Down
6 changes: 3 additions & 3 deletions client/nwjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"window": {
"icon": "./toby.png",
"exe_icon": "./toby.png",
"width": 1024,
"height": 768
"width": 1280,
"height": 720
}
}
}
6 changes: 3 additions & 3 deletions server/Components/VideoList.razor
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
}
else
{
<ul class="list-group list-group-horizontal" style="flex-wrap: wrap;">
<ul class="list-group list-group-horizontal-sm" style="flex-wrap: wrap;">
@foreach (var video in Videos)
{
<li class="list-group-item flex-fill @(SelectedVideo != null && video.YTId == SelectedVideo.YTId ? "active" : "")" @key=video.YTId @onclick="@(() => VideoSelected(video))">
<img src="@HelperExtensions.GetDefaultVideoThumbnail(video.YTId)" />
<li class="list-group-item flex-fill text-center @(SelectedVideo != null && video.YTId == SelectedVideo.YTId ? "active" : "")" @key=video.YTId @onclick="@(() => VideoSelected(video))">
<img src="@HelperExtensions.GetDefaultVideoThumbnail(video.YTId)" style="width:96px;height:auto;" />
</li>
}
</ul>
Expand Down
Binary file modified server/videos.db
Binary file not shown.

0 comments on commit 96c0afc

Please sign in to comment.