Reactions / editing tooltip tweaks
This commit is contained in:
parent
dbcf6af12d
commit
43c9e6d942
6 changed files with 9 additions and 16 deletions
|
@ -82,6 +82,9 @@ limitations under the License.
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.2;
|
||||||
|
padding: 6px 8px;
|
||||||
|
|
||||||
.mx_Tooltip_chevron::after {
|
.mx_Tooltip_chevron::after {
|
||||||
border-right-color: $tooltip-timeline-bg-color;
|
border-right-color: $tooltip-timeline-bg-color;
|
||||||
|
|
|
@ -14,11 +14,6 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.mx_ReactionsRowButtonTooltip {
|
.mx_ReactionsRowButtonTooltip_reactedWith {
|
||||||
font-size: 8px;
|
opacity: 0.7;
|
||||||
padding: 6px;
|
|
||||||
|
|
||||||
.mx_ReactionsRowButtonTooltip_reactedWith {
|
|
||||||
opacity: 0.7;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -490,11 +490,6 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.mx_EventTile_editedTooltip {
|
|
||||||
font-size: 10px;
|
|
||||||
padding: 5px 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* end of overrides */
|
/* end of overrides */
|
||||||
|
|
||||||
.mx_MatrixChat_useCompactLayout {
|
.mx_MatrixChat_useCompactLayout {
|
||||||
|
|
|
@ -69,7 +69,7 @@ export default class ReactionsRowButtonTooltip extends React.PureComponent {
|
||||||
let tooltip;
|
let tooltip;
|
||||||
if (tooltipLabel) {
|
if (tooltipLabel) {
|
||||||
tooltip = <Tooltip
|
tooltip = <Tooltip
|
||||||
tooltipClassName="mx_ReactionsRowButtonTooltip mx_Tooltip_timeline"
|
tooltipClassName="mx_Tooltip_timeline"
|
||||||
visible={visible}
|
visible={visible}
|
||||||
label={tooltipLabel}
|
label={tooltipLabel}
|
||||||
/>;
|
/>;
|
||||||
|
|
|
@ -449,8 +449,8 @@ module.exports = React.createClass({
|
||||||
const editEvent = this.props.mxEvent.replacingEvent();
|
const editEvent = this.props.mxEvent.replacingEvent();
|
||||||
const date = editEvent && formatDate(editEvent.getDate());
|
const date = editEvent && formatDate(editEvent.getDate());
|
||||||
editedTooltip = <Tooltip
|
editedTooltip = <Tooltip
|
||||||
tooltipClassName="mx_EventTile_editedTooltip mx_Tooltip_timeline"
|
tooltipClassName="mx_Tooltip_timeline"
|
||||||
label={_t("Edited at %(date)s.", {date})}
|
label={_t("Edited at %(date)s", {date})}
|
||||||
/>;
|
/>;
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -917,7 +917,7 @@
|
||||||
"Failed to copy": "Failed to copy",
|
"Failed to copy": "Failed to copy",
|
||||||
"Add an Integration": "Add an Integration",
|
"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?",
|
"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",
|
"edited": "edited",
|
||||||
"Removed or unknown message type": "Removed or unknown message type",
|
"Removed or unknown message type": "Removed or unknown message type",
|
||||||
"Message removed by %(userId)s": "Message removed by %(userId)s",
|
"Message removed by %(userId)s": "Message removed by %(userId)s",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue