1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Improve roundness #587

This commit is contained in:
Patrik J. Braun 2023-08-05 19:11:03 +02:00
parent 1a65c4d109
commit c4131ec4f9
3 changed files with 5 additions and 5 deletions

View File

@ -2,11 +2,11 @@
style="display: inline-block;"> style="display: inline-block;">
<div class="photo-container rounded" <div class="photo-container rounded overflow-hidden"
[style.width.px]="size" [style.width.px]="size"
[style.height.px]="size"> [style.height.px]="size">
<div class="photo rounded" <div class="photo "
*ngIf="thumbnail && thumbnail.Available" *ngIf="thumbnail && thumbnail.Available"
[style.background-image]="getSanitizedThUrl()"></div> [style.background-image]="getSanitizedThUrl()"></div>

View File

@ -4,10 +4,10 @@
style="display: inline-block;"> style="display: inline-block;">
<div class="photo-container rounded" <div class="photo-container rounded overflow-hidden"
[style.width.px]="size" [style.width.px]="size"
[style.height.px]="size"> [style.height.px]="size">
<div class="photo rounded" <div class="photo"
*ngIf="thumbnail && thumbnail.Available" *ngIf="thumbnail && thumbnail.Available"
[style.background-image]="getSanitizedThUrl()"></div> [style.background-image]="getSanitizedThUrl()"></div>

View File

@ -55,7 +55,7 @@ This is mostly btn-dark + border fix
*/ */
[data-bs-theme=dark] .btn-tertiary { [data-bs-theme=dark] .btn-tertiary {
--bs-btn-color: #fff; --bs-btn-color: #fff;
--bs-btn-bg: #212529; --bs-btn-bg: rgba(var(--bs-body-color-rgb), 0.03);
--bs-btn-border-color: var(--bs-border-color); --bs-btn-border-color: var(--bs-border-color);
--bs-btn-hover-color: #fff; --bs-btn-hover-color: #fff;
--bs-btn-hover-bg: #424649; --bs-btn-hover-bg: #424649;