Merge pull request #5992 from vector-im/luke/tag-panel-beautiful-dnd

CSS required as part of moving TagPanel from react-dnd to react-beautiful-dnd
This commit is contained in:
Luke Barnard 2018-01-16 13:05:31 +00:00 committed by GitHub
commit a94208e230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -29,11 +29,13 @@ limitations under the License.
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin-top: 65px; padding-top: 65px;
flex-grow: 1;
} }
.mx_TagPanel .mx_TagTile { .mx_TagPanel .mx_TagTile {
margin: 6px 0px; padding: 6px 3px;
opacity: 0.5; opacity: 0.5;
} }
.mx_TagPanel .mx_TagTile:focus, .mx_TagPanel .mx_TagTile:focus,
@ -44,7 +46,7 @@ limitations under the License.
.mx_TagPanel .mx_TagTile.mx_TagTile_selected { .mx_TagPanel .mx_TagTile.mx_TagTile_selected {
/* To offset border of mx_TagTile_avatar */ /* To offset border of mx_TagTile_avatar */
margin: 3px 0px; padding: 3px 0px;
} }
.mx_TagPanel .mx_TagTile.mx_TagTile_selected .mx_TagTile_avatar { .mx_TagPanel .mx_TagTile.mx_TagTile_selected .mx_TagTile_avatar {