fix video crop, add margin in services

This commit is contained in:
zakhy 2024-12-25 08:51:59 +07:00
parent c17a048b3b
commit a31f9287b3
3 changed files with 7 additions and 7 deletions

View File

@ -95,7 +95,7 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
# AUTH_USER_MODEL = 'users.User'
LOGIN_URL = '/users/login'
APP_VERSION = '1.0.1.1'
APP_VERSION = '1.0.1.2'
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
CSRF_TRUSTED_ORIGINS = ["https://cybercode.pro", "http://cybercode.pro"]

View File

@ -437,11 +437,11 @@ article p a {
.page-video .video {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
min-width: 100%;
min-height: 100%;
left: 0;
top: 0;
width: 100%;
height: 100%;
object-fit: fill;
}
.content-wrapper {

View File

@ -55,7 +55,7 @@
<div class="slide-text color-white d-flex flex-column align-items-center pt-base h-100">
<h2 class="color-white text-align-center display-3">Наши услуги</h2>
{# <div class="container">#}
<div id="indexSliderService" class="p-3" style="width: 100%;">
<div id="indexSliderService" style="width: 100%; padding: 0 4vw">
<div class="swiper-wrapper" id="servicesWrapper">
</div>
<div class="swiper-button-prev"></div>