Skip to content

Commit 1e99268

Browse files
committed
Demo: custom height for cards.
1 parent bf60ffd commit 1e99268

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

dist/css/demo.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
.evo-title2 {
143143
background-color: #0099cc;
144144
position: absolute;
145-
z-index: 1001;
145+
z-index: 1002;
146146
width: 100%;
147147
overflow: hidden;
148148
}
@@ -156,6 +156,7 @@
156156
@media only screen and (min-width: 900px) {
157157
.evo-title,
158158
.evo-title2 {
159+
width: calc(100% - 190px);
159160
top: 0 !important;
160161
margin-left: 190px;
161162
}
@@ -165,14 +166,14 @@
165166
}
166167
}
167168
.evo-title {
168-
z-index: 1005;
169169
top: 65px;
170170
padding: 20px 10px;
171171
min-height: 120px;
172172
}
173173
.evo-title2 {
174174
top: 65px;
175175
padding: 5px 10px;
176+
z-index: 1001;
176177
}
177178
.evo-content {
178179
padding: 85px 30px 30px;
@@ -462,10 +463,10 @@ h4 {
462463
/* demo card view*/
463464
[data-eid="todo"] .evol-cards-body > .panel,
464465
[data-eid="contact"] .evol-cards-body > .panel {
465-
height: 205px !important;
466+
height: 145px !important;
466467
}
467468
[data-eid="winecellar"] .evol-cards-body > div.panel {
468-
height: 272px !important;
469+
height: 320px !important;
469470
}
470471
[data-eid="comics"] .evol-cards-body > .panel {
471472
height: 500px !important;

less/demo.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ h1,h2,h3,h4{
122122
[data-eid="todo"],
123123
[data-eid="contact"] {
124124
.evol-cards-body > .panel {
125-
height: 205px !important;
125+
height: 145px !important;
126126
}
127127
}
128128
[data-eid="winecellar"] .evol-cards-body {
129129
> div.panel {
130-
height: 272px !important;
130+
height: 320px !important;
131131
}
132132
}
133133
[data-eid="comics"] {

0 commit comments

Comments
 (0)