Skip to content

Commit

Permalink
styling for unordererd list
Browse files Browse the repository at this point in the history
  • Loading branch information
mzhao-va committed Jul 16, 2020
1 parent 728efab commit e32e87a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/render/class-unordered-list-reusable-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected function block_content(): string {
}

return "<!-- wp:list -->
<ul class='ul-$class_name'>$formatted_list_elements</ul>
<ul class='ul-$class_name' style='padding-left: 0px; list-style: none;'>$formatted_list_elements</ul>
<!-- /wp:list -->";
}

Expand Down
2 changes: 1 addition & 1 deletion includes/render/hoursofoperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function hours_of_operation_html( $hours_array, $class_name ): string {
$formatted_list_elements = "<li class='li-$class_name'>Missing Hours of Operation</li>";
}

return "<ul class='ul-$class_name'>$formatted_list_elements</ul>";
return "<ul class='ul-$class_name' style='padding-left: 0px; list-style: none;'>$formatted_list_elements</ul>";
}
}

Expand Down
2 changes: 1 addition & 1 deletion includes/render/unordered-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ function unordered_list_html( $value_array, $class_name ): string {
$formatted_list_elements = "<li class='li-$class_name'>None Configured</li>";
}

return "<ul class='ul-$class_name'>\n$formatted_list_elements\n</ul>";
return "<ul class='ul-$class_name' style='padding-left: 0px; list-style: none;'>\n$formatted_list_elements\n</ul>";
}
}

0 comments on commit e32e87a

Please sign in to comment.