Skip to content

Commit 723dd4a

Browse files
authored
Merge pull request #42 from deka27/registration_card
RF: Fixed the registration card going out of bounds
2 parents 3101a69 + 0860f11 commit 723dd4a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
args: [--allow-missing-credentials]
2626
- id: detect-private-key
2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: v0.14.3
28+
rev: v0.14.4
2929
hooks:
3030
# Run the linter
3131
- id: ruff

_static/css/v2/hero.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
/* Hero Section Styles */
22
.hero-section {
33
position: relative;
4-
height: 100vh;
4+
min-height: 100vh;
55
width: 100%;
6-
overflow: hidden;
76
}
87

98
.hero-background-container {
109
position: absolute;
1110
inset: 0;
11+
min-height: 100vh;
1212
}
1313

1414
.hero-background-image {
1515
position: absolute;
1616
inset: 0;
1717
transition: opacity 1s;
1818
opacity: 0;
19+
min-height: 100vh;
1920
}
2021

2122
.hero-background-image.active {
@@ -25,18 +26,20 @@
2526
.hero-background-image img {
2627
width: 100%;
2728
height: 100%;
29+
min-height: 100vh;
2830
object-fit: cover;
2931
}
3032

3133
.hero-overlay {
3234
position: absolute;
3335
inset: 0;
3436
background-color: rgba(0, 0, 0, 0.3);
37+
min-height: 100vh;
3538
}
3639

3740
.hero-content {
3841
position: relative;
39-
height: 100%;
42+
min-height: 100vh;
4043
display: flex;
4144
flex-direction: column;
4245
justify-content: space-between;

0 commit comments

Comments
 (0)