Skip to content

Commit

Permalink
Navbar fixes (#107)
Browse files Browse the repository at this point in the history
Co-authored-by: Hongge Cui <sc22hc2@leeds.ac.uk>
  • Loading branch information
GabrielaReyna and Honggeiry authored Aug 2, 2024
1 parent 9f5c5ce commit 108d229
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/global-navbar/src/items/SocialIcon.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@
svg {
color: rgb(168 162 158);
height: 1rem;
margin: 0 !important;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function global_navbar_inject_head() {
add_action('wp_body_open', 'global_navbar_inject_body');
function global_navbar_inject_body() {
$target_id = json_encode("global-navbar");
$js = json_encode(plugins_url('dist/client/index.js', __FILE__));
$js = json_encode(plugins_url('dist/client/global-navbar.js', __FILE__));

echo "<div id='$target_id' style='display: contents'>";
include 'dist/server/body.html';
Expand Down

0 comments on commit 108d229

Please sign in to comment.