forked from External/greenlight
Fixed room name wrapping issues (#2439)
This commit is contained in:
parent
cc78035f9c
commit
0e8e188e24
|
@ -28,7 +28,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div>
|
<div>
|
||||||
<h4 contenteditable="false" class="m-0 force-text-normal room-name-text" ><%= room.name %></h4>
|
<h4 contenteditable="false" class="m-0 force-text-normal room-name-text text-break" ><%= room.name %></h4>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: none">
|
<div style="display: none">
|
||||||
<input class="form-control input-sm w-100 h-4 room-name-editable" value="<%= room.name %>">
|
<input class="form-control input-sm w-100 h-4 room-name-editable" value="<%= room.name %>">
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<div class="row pt-7 pt-sm-9 mb-7">
|
<div class="row pt-7 pt-sm-9 mb-7">
|
||||||
<div class="col-lg-9 col-sm-12">
|
<div class="col-lg-9 col-sm-12">
|
||||||
<div id="room-title" class="display-3 form-inline <%= 'edit_hover_class' if current_user.main_room != @room %>" data-path="<%= update_settings_path(@room) %>">
|
<div id="room-title" class="display-3 form-inline <%= 'edit_hover_class' if current_user.main_room != @room %>" data-path="<%= update_settings_path(@room) %>">
|
||||||
<h1 contenteditable=false id="user-text" class="display-3 text-left mb-3 font-weight-400"><%= title(@room.name) %></h1>
|
<h1 contenteditable=false id="user-text" class="display-3 text-left mb-3 font-weight-400 text-break"><%= title(@room.name) %></h1>
|
||||||
<% if current_user.main_room == @room %>
|
<% if current_user.main_room == @room %>
|
||||||
<a class="disable-click"><i class="fas fa-home align-top home-indicator ml-2"></i></a>
|
<a class="disable-click"><i class="fas fa-home align-top home-indicator ml-2"></i></a>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
Loading…
Reference in New Issue