Use margin to separate "perms" in the room directory

instead of a space.
This commit is contained in:
Luke Barnard 2017-11-02 15:13:55 +00:00
parent fb8e41a9c1
commit ee71c72685
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;