mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
tweak paddings and margins on room tile
This commit is contained in:
parent
521e035bf0
commit
3d5395e784
@ -20,7 +20,8 @@ limitations under the License.
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
height: 40px;
|
||||
margin: 0px 3px;
|
||||
margin: 0 12px;
|
||||
padding: 2px 12px;
|
||||
position: relative;
|
||||
background-color: $secondary-accent-color;
|
||||
}
|
||||
@ -34,10 +35,7 @@ limitations under the License.
|
||||
|
||||
.mx_RoomTile_avatar {
|
||||
flex: 0;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
padding-left: 14px;
|
||||
padding-right: 12px;
|
||||
padding: 4px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
@ -56,7 +54,7 @@ limitations under the License.
|
||||
|
||||
.mx_RoomTile_name {
|
||||
flex: 1 5 auto;
|
||||
font-size: 14px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
padding: 6px;
|
||||
color: $roomtile-name-color;
|
||||
@ -70,6 +68,11 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.collapsed {
|
||||
.mx_RoomTile {
|
||||
margin: 2px;
|
||||
padding: 2px 0 2px 12px;
|
||||
}
|
||||
|
||||
.mx_RoomTile_name {
|
||||
display: none;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user