Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lb_carousel-3398106
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
lb_carousel-3398106
Commits
2069a2a5
Commit
2069a2a5
authored
2 years ago
by
Andrey Zbukar
Committed by
Max
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Carousel] The description of the carousel item is shifted if the title and...
parent
a04e682b
Branches
2486651-donate
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/css/lb-carousel.css
+23
-11
23 additions, 11 deletions
assets/css/lb-carousel.css
assets/scss/lb-carousel.scss
+22
-10
22 additions, 10 deletions
assets/scss/lb-carousel.scss
with
45 additions
and
21 deletions
assets/css/lb-carousel.css
+
23
−
11
View file @
2069a2a5
This diff is collapsed.
Click to expand it.
assets/scss/lb-carousel.scss
+
22
−
10
View file @
2069a2a5
...
...
@@ -66,24 +66,31 @@
@include
media-breakpoint-down
(
'md'
){
top
:
10%
;
transform
:
translate
(
-50%
,
-10%
);
width
:
60%
!
important
;
}
@include
media-breakpoint-up
(
'md'
){
bottom
:
0
;
transform
:
translate
(
-50%
);
padding-bottom
:
15%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
}
h2
{
font-size
:
45px
;
line-height
:
52px
;
font-size
:
32px
;
line-height
:
36px
;
@include
media-breakpoint-up
(
'sm'
)
{
font-size
:
45px
;
line-height
:
52px
;
}
@include
media-breakpoint-up
(
'md'
){
font-size
:
65px
;
line-height
:
75px
;
}
}
p
{
font-size
:
20px
;
line-height
:
30px
;
font-size
:
16px
;
line-height
:
22px
;
@include
media-breakpoint-up
(
'sm'
)
{
font-size
:
20px
;
line-height
:
30px
;
}
@include
media-breakpoint-up
(
'md'
)
{
font-size
:
24px
;
line-height
:
36px
;
...
...
@@ -93,9 +100,14 @@
background-color
:
#636466
;
border-color
:
#636466
;
border-radius
:
20px
;
font-size
:
24
px
;
line-height
:
36
px
;
font-size
:
18
px
;
line-height
:
22
px
;
margin-top
:
50px
;
@include
media-breakpoint-up
(
'sm'
)
{
font-size
:
24px
;
line-height
:
36px
;
}
@include
media-breakpoint-down
(
'md'
)
{
margin-top
:
0
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment