Merge pull request #6288 from vector-im/luke/e2e-request-keys-button

Changes for E2E "fudge-button"
pull/6289/head
Luke Barnard 2018-03-08 15:08:02 +00:00 committed by GitHub
commit c3ebe1f591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 3 deletions

View File

@ -31,7 +31,7 @@ module.exports = React.createClass({
tooltipClassName: React.PropTypes.string,
// The tooltip is derived from either the room name or a label
room: React.PropTypes.object,
label: React.PropTypes.string,
label: React.PropTypes.node,
},
// Create a wrapper for the tooltip outside the parent and attach it to the body element

View File

@ -44,8 +44,8 @@ limitations under the License.
}
.mx_ToolTipButton_helpText {
width: 200px;
text-align: center;
width: 400px;
text-align: start;
line-height: 17px !important;
}

View File

@ -298,6 +298,34 @@ limitations under the License.
cursor: pointer;
}
.mx_EventTile_keyRequestInfo {
font-size: 12px;
}
.mx_EventTile_keyRequestInfo_text {
opacity: 0.5;
}
.mx_EventTile_keyRequestInfo_text a {
color: $primary-fg-color;
text-decoration: underline;
cursor: pointer;
}
.mx_EventTile_keyRequestInfo_tooltip_contents p {
text-align: auto;
margin-left: 3px;
margin-right: 3px;
}
.mx_EventTile_keyRequestInfo_tooltip_contents p:first-child {
margin-top: 0px;
}
.mx_EventTile_keyRequestInfo_tooltip_contents p:last-child {
margin-bottom: 0px;
}
.mx_EventTile_12hr .mx_EventTile_e2eIcon {
padding-left: 5px;
}