Skip to content

Commit a94208e

Browse files
authored
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
2 parents f940dfd + c269abd commit a94208e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/skins/vector/css/matrix-react-sdk/structures/_TagPanel.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ limitations under the License.
2929
display: flex;
3030
flex-direction: column;
3131
align-items: center;
32-
margin-top: 65px;
32+
padding-top: 65px;
33+
34+
flex-grow: 1;
3335
}
3436

3537
.mx_TagPanel .mx_TagTile {
36-
margin: 6px 0px;
38+
padding: 6px 3px;
3739
opacity: 0.5;
3840
}
3941
.mx_TagPanel .mx_TagTile:focus,
@@ -44,7 +46,7 @@ limitations under the License.
4446

4547
.mx_TagPanel .mx_TagTile.mx_TagTile_selected {
4648
/* To offset border of mx_TagTile_avatar */
47-
margin: 3px 0px;
49+
padding: 3px 0px;
4850
}
4951

5052
.mx_TagPanel .mx_TagTile.mx_TagTile_selected .mx_TagTile_avatar {

0 commit comments

Comments
 (0)