diff --git a/.gitignore b/.gitignore index 3a79e038..d2f723f2 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ /public/storage /storage/*.key /storage/pail +/storage/uploads /vendor Homestead.json Homestead.yaml diff --git a/public/assets/css/style.css b/public/assets/css/style.css index c2cce6a7..8170fd79 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -2660,6 +2660,19 @@ a.copyright__item:hover { width: 100%; } +.our-commitment .textblock__image iframe { + aspect-ratio: 16 / 9; + width: 100%; + height: initial; +} + +@media screen and (max-width: 1600px) { + .our-commitment .textblock__image.textblock__block:has(.brand__video), + .our-commitment .textblock__image.textblock__block .brand__video { + width: 100%; + } +} + .textblock__info-description.quote__text { width: 100%; } @@ -2705,7 +2718,9 @@ a.copyright__item:hover { } .textblock__container_row .textblock__image img { + width: auto; height: auto; + margin: 0 auto; } .textblock__container_row.textblock__container_swap .textblock__image { diff --git a/resources/ts/back/Components/Inputs/SimpleYoutubeId.tsx b/resources/ts/back/Components/Inputs/SimpleYoutubeId.tsx index 44bcb648..ccb53375 100644 --- a/resources/ts/back/Components/Inputs/SimpleYoutubeId.tsx +++ b/resources/ts/back/Components/Inputs/SimpleYoutubeId.tsx @@ -15,7 +15,7 @@ type SimpleYoutubeIdProps = { }; export default function SimpleYoutubeId(props: SimpleYoutubeIdProps) { - const pattern = "^[0-9A-Za-z_-]{10}[048AEIMQUYcgkosw]$"; + const pattern = "^[0-9A-Za-z_\\-]{10}[048AEIMQUYcgkosw]$"; const label = str(useTrans('validation.custom.youtube_id')).ucFirst().value(); const localProps = {pattern, label, ...props}; diff --git a/resources/views/components/front/text-block.blade.php b/resources/views/components/front/text-block.blade.php index c9ed008d..15a7fcfa 100644 --- a/resources/views/components/front/text-block.blade.php +++ b/resources/views/components/front/text-block.blade.php @@ -47,10 +47,6 @@ @if (!empty($l['image']) || !empty($l['video']))