fix pr feedback

This commit is contained in:
Bruno Windels 2019-11-15 17:29:38 +01:00
parent d416ba2c0c
commit 0f39a9f72d
2 changed files with 13 additions and 13 deletions

View file

@ -25,9 +25,9 @@ limitations under the License.
.mx_E2EIcon_verified::before, .mx_E2EIcon_warning::before { .mx_E2EIcon_verified::before, .mx_E2EIcon_warning::before {
content: ""; content: "";
display: block; display: block;
/* the symbols in the shield icons are cut out the make the themeable with css masking. /* the symbols in the shield icons are cut out to make it themeable with css masking.
if they appear on a different background than white, the symbol wouldn't be white though, so we if they appear on a different background than white, the symbol wouldn't be white though, so we
add a rectangle here below the masked element to shine through the symbol cutout. add a rectangle here below the masked element to shine through the symbol cut-out.
hardcoding white and not using a theme variable as this would probably be white for any theme. */ hardcoding white and not using a theme variable as this would probably be white for any theme. */
background-color: white; background-color: white;
position: absolute; position: absolute;

View file

@ -1,18 +1,18 @@
/* /*
Copyright 2016 Jani Mustonen Copyright 2019 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
You may obtain a copy of the License at You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';