Skip to content

Commit

Permalink
Merge pull request #8907 from RocketChat/fix-long-announcement
Browse files Browse the repository at this point in the history
[FIX] Long room announcement cut off
  • Loading branch information
rodrigok authored Dec 4, 2017
2 parents b7741f1 + 35f6b29 commit 586b354
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ html.rtl .flex-tab {

cursor: pointer;
vertical-align: middle;
word-wrap: break-word;

font-size: 14px;

Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-theme/client/imports/forms/tags.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

width: 100%;
min-height: 43px;
padding: 0 1rem 0 3.25rem;
padding: 0 1rem 0 2.25rem;

border-width: var(--tags-border-width);
border-color: var(--tags-border-color);
Expand Down
3 changes: 3 additions & 0 deletions packages/rocketchat-theme/client/imports/general/base_old.css
Original file line number Diff line number Diff line change
Expand Up @@ -1772,8 +1772,11 @@
overflow: hidden;

height: 40px;
padding: 0 20px;

text-align: center;
white-space: nowrap;
text-overflow: ellipsis;

color: white;
background-color: #04436a;
Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-ui/client/views/app/room.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2>
<div class="messages-container-main">
{{#unless embeddedVersion}}
{{#if showAnnouncement}}
<div class="fixed-title announcement">
<div class="fixed-title announcement" title="{{RocketChatMarkdown roomAnnouncement}}">
{{{RocketChatMarkdown roomAnnouncement}}}
</div>
{{/if}}
Expand Down

0 comments on commit 586b354

Please sign in to comment.