Disable text wrapping while measuring header width
This commit is contained in:
parent
693fe3b587
commit
b5679e16db
2 changed files with 3 additions and 1 deletions
|
@ -103,6 +103,8 @@ $(document).ready(function () {
|
|||
|
||||
$("body").removeClass("compact-nav");
|
||||
|
||||
$("header").removeClass("text-nowrap");
|
||||
|
||||
updateHeader();
|
||||
|
||||
$(window).resize(updateHeader);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<header class="d-flex closed">
|
||||
<header class="d-flex text-nowrap closed">
|
||||
<h1 class="m-0 fw-semibold">
|
||||
<a href="<%= root_path %>" class="text-black text-decoration-none geolink">
|
||||
<%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :width => 30, :height => 30, :class => "logo" %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue