Fix FAQ email import and change images to use object-fit contain with white background

This commit is contained in:
sdarbinyan
2026-01-22 12:38:21 +04:00
parent 71cd5984db
commit 95d94fcbc1
8 changed files with 27 additions and 14 deletions

View File

@@ -163,7 +163,8 @@
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
transition: transform 0.3s ease; transition: transform 0.3s ease;
} }

View File

@@ -280,7 +280,8 @@
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
display: block; display: block;
} }
} }
@@ -373,7 +374,8 @@
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
display: block; display: block;
transition: transform 0.3s; transition: transform 0.3s;
} }
@@ -1464,7 +1466,8 @@
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
transition: transform 0.3s ease; transition: transform 0.3s ease;
} }

View File

@@ -74,7 +74,8 @@
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
} }
} }

View File

@@ -153,7 +153,8 @@
.category-media img { .category-media img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
transition: opacity 0.3s ease; transition: opacity 0.3s ease;
} }

View File

@@ -252,7 +252,8 @@
.category-media img { .category-media img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
} }
@@ -567,7 +568,8 @@
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
transition: transform 0.4s; transition: transform 0.4s;
} }

View File

@@ -1,6 +1,6 @@
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { CommonModule } from '@angular/common'; import { CommonModule } from '@angular/common';
import { environment } from '../../../../environments/environment.novo.production'; import { environment } from '../../../environments/environment';
@Component({ @Component({
selector: 'app-faq', selector: 'app-faq',

View File

@@ -59,7 +59,8 @@
video { video {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
} }
} }
@@ -90,7 +91,8 @@
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
} }
.video-indicator { .video-indicator {
@@ -585,7 +587,8 @@
video { video {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
} }
&.novo-no-image { &.novo-no-image {
@@ -635,7 +638,8 @@
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
} }
.video-indicator { .video-indicator {

View File

@@ -147,7 +147,8 @@
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
background: white;
} }
} }