Fixes #172 Add slider max content length + remove slider max height breaking front slider display
This commit is contained in:
parent
27458eae63
commit
a1ff80a16b
3 changed files with 2 additions and 7 deletions
|
|
@ -43,7 +43,7 @@ class StoreSlideRequest extends FormRequest
|
|||
{
|
||||
$rules = [
|
||||
'title' => 'required|min:3|max:255',
|
||||
'content' => 'required|string|min:15',
|
||||
'content' => 'required|string|min:15|max:540',
|
||||
'button_display' => 'required|boolean',
|
||||
'button_text' => 'nullable|min:3|max:45',
|
||||
'button_url' => 'nullable|min:3|max:255|url',
|
||||
|
|
|
|||
|
|
@ -6,11 +6,6 @@
|
|||
height: 100%;
|
||||
}
|
||||
|
||||
.sliders-wrapper,
|
||||
.swiper-hero .img-slide,
|
||||
.swiper-options-wrapper .shadow-img,
|
||||
.swiper-options-wrapper .shadow-txt { max-height: 700px; }
|
||||
|
||||
$thumbs-height: 10%;
|
||||
.swiper-hero .slide-txt { max-height: calc(100% - $thumbs-height); }
|
||||
.swiper-hero .img-slide { filter: brightness(40%); }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// import Swiper JS
|
||||
import Swiper, { Navigation, Pagination, Autoplay } from "swiper";
|
||||
import Swiper, { Autoplay, Navigation, Pagination } from "swiper";
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
const swiperConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue