move menu padding from wrapper so menu can have full-width elements

pull/21833/head
Bruno Windels 2018-10-23 15:22:41 +02:00
parent 7b8e96723e
commit 3f6175527c
3 changed files with 8 additions and 1 deletions

View File

@ -35,7 +35,6 @@ limitations under the License.
background-color: $menu-bg-color; background-color: $menu-bg-color;
color: $primary-fg-color; color: $primary-fg-color;
position: absolute; position: absolute;
padding: 6px;
font-size: 14px; font-size: 14px;
z-index: 5001; z-index: 5001;
} }

View File

@ -14,6 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
.mx_MessageContextMenu {
padding: 6px;
}
.mx_MessageContextMenu_field { .mx_MessageContextMenu_field {
padding: 3px 6px 3px 6px; padding: 3px 6px 3px 6px;
cursor: pointer; cursor: pointer;

View File

@ -14,6 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
.mx_RoomTileContextMenu {
padding: 6px;
}
.mx_RoomTileContextMenu_tag_field, .mx_RoomTileContextMenu_leave { .mx_RoomTileContextMenu_tag_field, .mx_RoomTileContextMenu_leave {
padding-top: 8px; padding-top: 8px;
padding-right: 20px; padding-right: 20px;