Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c311aae

Browse files
committed
Fixed some small formatting issues.
1 parent e0b7d7f commit c311aae

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

app/Http/Controllers/LipidController.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ class LipidController extends Controller
1111

1212
private function formatJsonLd(array $entity): string {
1313

14-
// Prepare data for JSON-LD
15-
$props = $entity['properties'] ?? [];
16-
// Flatten properties into a key-value array for easier access
14+
// Prepare data for JSON-LD
15+
$props = $entity['properties'] ?? [];
16+
// Flatten properties into a key-value array for easier access
1717
foreach ($props as $prop) {
1818
$entity['properties_flat'][$prop->name] = $prop->value . ($prop->unit ?? '');
1919
}
2020

21-
22-
2321
$jsonAr = array_filter([
2422
'@context' => 'https://schema.org/',
2523
'@type' => 'MolecularEntity',
@@ -56,7 +54,6 @@ private function formatJsonLd(array $entity): string {
5654
}
5755
}
5856
}
59-
6057
return json_encode($jsonAr, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT);
6158
}
6259

bootstrap/cache/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
*
1+
**
22
!.gitignore

public/css/styles.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10956,7 +10956,7 @@ header.masthead h1, header.masthead .h1 {
1095610956
}
1095710957
@media (min-width: 992px) {
1095810958
header.masthead {
10959-
height: 100%
10959+
height: 100%;
1096010960
min-height: 40rem;
1096110961
padding-top: 4.5rem;
1096210962
/*padding-bottom: 0;*/
@@ -10968,6 +10968,7 @@ header.masthead h1, header.masthead .h1 {
1096810968
font-size: 3rem;
1096910969
}
1097010970
}
10971+
1097110972
@media (min-width: 1200px) {
1097210973
header.masthead h1, header.masthead .h1 {
1097310974
font-size: 3.5rem;

0 commit comments

Comments
 (0)