Skip to content

Commit

Permalink
compact view 💯
Browse files Browse the repository at this point in the history
  • Loading branch information
whyboris committed Feb 20, 2023
1 parent 2fa639b commit 09c57b8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"showFullViewDescription": "All screenshots view",
"showFullViewHint": "Full view",
"showMoreInfoDescription": "Show file name, resolution, and video length",
"showMoreInfoHint": "Show file name",
"showMoreInfoHint": "Show file name & meta",
"showRecentDescription": "Show recently-opened video hub history",
"showRecentHint": "Show recently opened hubs",
"showRecentPlayed": "Recently played",
Expand Down
5 changes: 3 additions & 2 deletions src/app/components/views/filmstrip/filmstrip.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<div
[ngStyle]="{ height: elHeight + 'px'}"
[ngClass]="compactView ? 'compact-margins': 'meta-container'"
class="meta-container"
[ngClass]="{ 'compact-margins' : compactView }"
>
<div
#filmstripHolder
Expand Down Expand Up @@ -35,7 +36,7 @@
</app-icon>

<span
*ngIf="showMeta"
*ngIf="showMeta && !compactView"
[ngClass]="{ 'larger-font': largerFont }"
[ngStyle]="{ color: darkMode ? '#BBBBBB' : '#000000' }"
class="title"
Expand Down
4 changes: 3 additions & 1 deletion src/app/components/views/filmstrip/filmstrip.component.scss
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
// contents in `film-and-full.scss`
.compact-margins {
margin: 5px 0 0 20px;
}
4 changes: 2 additions & 2 deletions src/app/components/views/filmstrip/filmstrip.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import type { RightClickEmit, VideoClickEmit } from '../../../../../interfaces/s
selector: 'app-filmstrip-item',
templateUrl: './filmstrip.component.html',
styleUrls: [
'../clip-and-preview.scss',
'../film-and-full.scss',
'../time-and-rez.scss',
'../selected.scss'
'../selected.scss',
'./filmstrip.component.scss'
],
animations: [ textAppear,
metaAppear ]
Expand Down

0 comments on commit 09c57b8

Please sign in to comment.