minor ui changes

This commit is contained in:
X4Lo committed 2025-02-15 22:47:26 +01:00
1 parent edc09da8df
commit d54eb721a6
5 files changed
+23 -16

No files matched your search

@@ -11,7 +11,7 @@
.background-wrapper img {
width: 100%;
height: 100%;
object-fit: fill;
object-fit: cover;
}
.background-wrapper::after {
@@ -140,8 +140,8 @@ export class EntryPageComponent implements OnInit {
}
onRatingChange(event: Event) {
this.entryRatingsService
.updateEntryRatings(this.entry.entryRating)
this.entryService
.updateEntryRatings(this.entry.id, this.entry.entryRating)
.subscribe({
next: (entryRatings) => {
if (entryRatings) {
@@ -84,10 +84,10 @@
<div class="row">
<!-- watchtime -->
<div class="col-12 col-xl-4 d-flex flex-column justify-content-between">
<div class="col-12 col-xl-4 d-flex">
<!-- movies watchtime -->
<div class="card rounded-4">
<div class="card-body">
<div class="card">
<div class="card-body d-flex flex-column space-between">
<div class="d-flex gap-2 mb-4">
<h5 class="mb-0 d-flex align-items-center gap-2 fw-bold">
Total Time Spent Watching
@@ -137,11 +137,11 @@
</div>
</div>
</div>
<div class="card-body align-content-center">
<p class="mb-0">You've spent {{ watchTime.allTime.total | minutesFormat:'days' | number }} days of your life
watching this crap.
<p class="mb-0">
You've spent {{ watchTime.allTime.total | minutesFormat:'days' | number }} days of your life watching this
crap.
<br>
<span>{{ (watchTime.allTime.total * 100) / minutesAge | floatFormat:2 }}% of your life.</span>
</p>
@@ -164,6 +164,7 @@
<span class="material-icons-outlined fs-5">more_vert</span>
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2025)">2025</a></li>
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2024)">2024</a></li>
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2023)">2023</a></li>
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2022)">2022</a></li>
@@ -225,9 +226,4 @@
</div>
</div>
<div class="row">
</div>
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
@@ -72,11 +72,20 @@ a.clear-filter-link {
::ng-deep .p-multiselect-items-wrapper {
width: 100% !important;
}
.p-multiselect-label-container {
padding: 8px 12px !important; /* Adjust for better fit */
padding: 8px 12px !important;
/* Adjust for better fit */
}
::ng-deep ol,
::ng-deep ul:not(.metismenu) {
padding-left: 0 !important;
}
.form-check-input,
.form-check-input .form-check-label,
.clear-filter-link {
cursor: pointer;
}
+3 -1
View File
@@ -1141,4 +1141,6 @@ form select.error:focus {
border-color: #377dff;
}
/*# sourceMappingURL=main.css.map */
.dropdown-item {
cursor: pointer;
}