Skip to content

Commit

Permalink
Merge pull request #6288 from vector-im/luke/e2e-request-keys-button
Browse files Browse the repository at this point in the history
Changes for E2E "fudge-button"
  • Loading branch information
lukebarnard1 authored Mar 8, 2018
2 parents c051492 + 1119098 commit c3ebe1f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/views/rooms/RoomTooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

28 changes: 28 additions & 0 deletions src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c3ebe1f

Please sign in to comment.