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

Changes for E2E "fudge-button"
This commit is contained in:
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, tooltipClassName: React.PropTypes.string,
// The tooltip is derived from either the room name or a label // The tooltip is derived from either the room name or a label
room: React.PropTypes.object, 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 // 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 { .mx_ToolTipButton_helpText {
width: 200px; width: 400px;
text-align: center; text-align: start;
line-height: 17px !important; line-height: 17px !important;
} }

View file

@ -298,6 +298,34 @@ limitations under the License.
cursor: pointer; 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 { .mx_EventTile_12hr .mx_EventTile_e2eIcon {
padding-left: 5px; padding-left: 5px;
} }