Skip to content

Commit

Permalink
CSS corrections (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
otrok7 committed Dec 21, 2023
1 parent 666d5e2 commit a00e45f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions crouton.php
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,9 @@ private function getOptions()
$this->options['meeting_data_template'] = str_replace('{{> meetingLink this}}', "{{> meetingModal this}}", $this->options['meeting_data_template']);
}
}
if (isset($this->options['meetingpage_contents_template'])) {
$this->options['meetingpage_contents_template'] = str_replace('<td style="width:500px">', '<td id="meetingpage_map_td">', $this->options['meetingpage_contents_template']);
}
foreach ($this->hasFilters as $hasFilter) {
if (!isset($this->options[$hasFilter])) {
$this->options[$hasFilter] = $this->shortCodeOptions[$hasFilter];
Expand Down
6 changes: 6 additions & 0 deletions croutonjs/meetingMap/css/meeting_map.css
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@ div.bmlt_map_container_div button {
border: 1px solid #888;
line-height: 1.2;
}
#meeting_modal .modal-content {
transform: unset;
top: 10%;
left: 8%;
max-width: 85%;
}

/* The Close Button */
.modal-close {
Expand Down
1 change: 1 addition & 0 deletions croutonjs/src/css/bmlt_tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ table.tablesaw {
}
th#meeting-details-title {
display: table-cell;
text-wrap: balance;
}
}

Expand Down
2 changes: 1 addition & 1 deletion croutonjs/src/js/crouton-default-templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var croutonDefaultTemplates = {
].join('\n'),

meetingpage_contents_template:
`<td style="width:500px">
`<td id="meetingpage_map_td">
{{#isInPersonOrHybrid this}}
{{{crouton_map}}}
</td>
Expand Down

0 comments on commit a00e45f

Please sign in to comment.