Skip to content

Commit 9217ebf

Browse files
authored
Merge pull request #231 from lightspeedwp/fix/issue-230-single-event-retro-compatibility
Fix: Make single-events.css retro-compatible
2 parents 602c4dd + 64a1cf5 commit 9217ebf

File tree

3 files changed

+197
-2662
lines changed

3 files changed

+197
-2662
lines changed

assets/css/tec/single-events.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ body.single-tribe_events .tribe-events-schedule{margin: 10px 0;}
132132
@media (min-width: 768px){
133133
.tribe-events-venue-map>div, .tribe-events-venue-map>iframe {
134134
max-height: 316px;
135-
}
135+
}
136136
}
137137

138138
@media (max-width: 768px){
@@ -174,19 +174,22 @@ body .tribe-events-meta-group .tribe-events-single-section-title {
174174
text-transform: capitalize;
175175
margin-bottom: 30px;
176176
}
177-
body .tribe-events-event-meta dt:not(:first-child) {
177+
body .tribe-events-event-meta dt:not(:first-child),
178+
body .tribe-events-event-meta ul li:not(:first-child) {
178179
margin-top: 30px;
179180
}
180181
body .tribe-events-meta-group dl dt,
181-
body .tribe-events-meta-group dl dd {
182+
body .tribe-events-meta-group dl dd,
183+
body .tribe-events-meta-group ul li {
182184
font-family: var(--wp--preset--font-family--primary);
183185
font-size: var(--wp--preset--font-size--small);
184186
line-height: var(--wp--custom--line-height--normal);
185187
}
186188
body .tribe-events-meta-group dl dt {
187189
font-weight: var(--wp--custom--font-weight--bold);
188190
}
189-
body .tribe-events-meta-group dl dd {
191+
body .tribe-events-meta-group dl dd,
192+
body .tribe-events-meta-group ul li {
190193
font-weight: var(--wp--custom--font-weight--medium);
191194
}
192195

@@ -196,4 +199,4 @@ body #tribe-events-footer {
196199
}
197200
body nav.tribe-events-nav-pagination {
198201
display: none;
199-
}
202+
}

composer.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@
2626
"minimum-stability": "dev",
2727
"config": {
2828
"allow-plugins": {
29-
"third-party/required-plugin": true,
30-
"my-organization/*": true,
31-
"unnecessary/plugin": false,
32-
"composer/installers": true,
3329
"dealerdirect/phpcodesniffer-composer-installer": true,
34-
"johnpbloch/wordpress-core-installer": true
30+
"composer/installers": true
3531
}
3632
},
3733
"config": {
@@ -47,4 +43,4 @@
4743
"format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source",
4844
"lint": "phpcs --standard=phpcs.xml.dist"
4945
}
50-
}
46+
}

0 commit comments

Comments
 (0)