-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix time placeholder showing on mobile format for condensed messages #1442
Conversation
👍 tested and can confirm it works |
client/views/msg_condensed.tpl
Outdated
<div class="msg {{type}} closed" data-time="{{time}}"> | ||
<span class="time hide-text">{{tz time}}</span> | ||
<div class="msg condensed closed"> | ||
<span class="time">00:00</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will break layout with seconds enabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'm stupid. Goddammit, I was so hoping this was the right better thing... So should I just leave actual time as is, for now? :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty much
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, fixed. Well, at least you can't select it by accident anymore...
As an extra, make sure time placeholder cannot be selected anymore, and do not do an extra call to `tz` helper when time is not relevant/displayed. I tried to entirely remove `time`/`from` blocks, but because of flexbox layout, that broke message alignment...
18671a5
to
51bd46b
Compare
…ed-time Fix time placeholder showing on mobile format for condensed messages
/Cc @MaxLeiter
As an extra, make sure time placeholder cannot be selected anymore,
and do not do an extra call to.tz
helper when time is not relevant/displayedI tried to entirely remove
time
/from
blocks, but because of flexbox layout, that broke message alignment...