Merge pull request #5498 from vector-im/luke/css-use-margin-in-room-dir-perms

Use margin to separate "perms" in the room directory
pull/3819/merge
Matthew Hodgson 2017-11-03 22:44:41 +00:00 committed by GitHub
commit c90834114b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -409,7 +409,7 @@ module.exports = React.createClass({
perms = null; perms = null;
if (guestRead || guestJoin) { if (guestRead || guestJoin) {
perms = <div className="mx_RoomDirectory_perms">{guestRead} {guestJoin}</div>; perms = <div className="mx_RoomDirectory_perms">{guestRead}{guestJoin}</div>;
} }
var topic = rooms[i].topic || ''; var topic = rooms[i].topic || '';

View File

@ -100,6 +100,7 @@ limitations under the License.
display: inline; display: inline;
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
margin-right: 5px;
height: 15px; height: 15px;
border-radius: 11px; border-radius: 11px;
background-color: $plinth-bg-color; background-color: $plinth-bg-color;