Skip to content

Commit b180daf

Browse files
committed
Make cards the same height
Signed-off-by: Olga Bulat <obulat@gmail.com>
1 parent 8056cae commit b180daf

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

src/App.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ export default {
7676
color: #2c3e50;
7777
}
7878
79-
hr {
80-
margin-left: 5%;
81-
margin-right: 5%;
82-
}
83-
8479
#site-container {
8580
padding-top: 2rem;
8681
padding-bottom: 2%;

src/components/LicenseCard.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,12 @@ export default {
4848
}
4949
</script>
5050
<style lang="scss" scoped>
51-
51+
div.card {
52+
height: 540px;
53+
}
54+
@media only screen and (max-width: 670px) {
55+
div.card {
56+
height: auto;
57+
}
58+
}
5259
</style>

src/components/Stepper.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export default {
141141

142142
<style lang="scss">
143143
div#stepper.card{
144+
height: 540px;
144145
div.card-content{
145146
p.stepper-instructions {
146147
padding-bottom: 1.4rem;
@@ -234,6 +235,7 @@ export default {
234235
}
235236
section.step-content {
236237
padding-bottom: 0;
238+
height: 300px;
237239
}
238240
nav.step-navigation {
239241
display: flex;
@@ -274,9 +276,13 @@ export default {
274276
}
275277
}
276278
}
277-
278-
li.personalization>a>div>span>svg{
279-
279+
}
280+
@media only screen and (max-width: 670px) {
281+
div.card {
282+
height: auto;
283+
}
284+
section.step-content {
285+
height: auto;
280286
}
281287
}
282288
</style>

0 commit comments

Comments
 (0)