Reactions / editing tooltip tweaks

pull/21833/head
J. Ryan Stinnett 2019-05-17 15:04:27 +01:00
parent dbcf6af12d
commit 43c9e6d942
6 changed files with 9 additions and 16 deletions

View File

@ -82,6 +82,9 @@ limitations under the License.
text-align: center;
border: none;
border-radius: 3px;
font-size: 14px;
line-height: 1.2;
padding: 6px 8px;
.mx_Tooltip_chevron::after {
border-right-color: $tooltip-timeline-bg-color;

View File

@ -14,11 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_ReactionsRowButtonTooltip {
font-size: 8px;
padding: 6px;
.mx_ReactionsRowButtonTooltip_reactedWith {
opacity: 0.7;
}
.mx_ReactionsRowButtonTooltip_reactedWith {
opacity: 0.7;
}

View File

@ -490,11 +490,6 @@ limitations under the License.
}
*/
.mx_EventTile_editedTooltip {
font-size: 10px;
padding: 5px 6px;
}
/* end of overrides */
.mx_MatrixChat_useCompactLayout {

View File

@ -69,7 +69,7 @@ export default class ReactionsRowButtonTooltip extends React.PureComponent {
let tooltip;
if (tooltipLabel) {
tooltip = <Tooltip
tooltipClassName="mx_ReactionsRowButtonTooltip mx_Tooltip_timeline"
tooltipClassName="mx_Tooltip_timeline"
visible={visible}
label={tooltipLabel}
/>;

View File

@ -449,8 +449,8 @@ module.exports = React.createClass({
const editEvent = this.props.mxEvent.replacingEvent();
const date = editEvent && formatDate(editEvent.getDate());
editedTooltip = <Tooltip
tooltipClassName="mx_EventTile_editedTooltip mx_Tooltip_timeline"
label={_t("Edited at %(date)s.", {date})}
tooltipClassName="mx_Tooltip_timeline"
label={_t("Edited at %(date)s", {date})}
/>;
}
return (

View File

@ -917,7 +917,7 @@
"Failed to copy": "Failed to copy",
"Add an Integration": "Add an Integration",
"You are about to be taken to a third-party site so you can authenticate your account for use with %(integrationsUrl)s. Do you wish to continue?": "You are about to be taken to a third-party site so you can authenticate your account for use with %(integrationsUrl)s. Do you wish to continue?",
"Edited at %(date)s.": "Edited at %(date)s.",
"Edited at %(date)s": "Edited at %(date)s",
"edited": "edited",
"Removed or unknown message type": "Removed or unknown message type",
"Message removed by %(userId)s": "Message removed by %(userId)s",