Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3129 from matrix-org/jryans/context-menu-slim
Browse files Browse the repository at this point in the history
Remove redundant extra chevrons from ContextualMenu
  • Loading branch information
jryans authored Jun 24, 2019
2 parents 1c7af38 + b5598df commit fff67e2
Showing 1 changed file with 1 addition and 48 deletions.
49 changes: 1 addition & 48 deletions res/css/structures/_ContextualMenu.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
Copyright 2015, 2016 OpenMarket Ltd
Copyright 2019 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -58,18 +59,6 @@ limitations under the License.
border-bottom: 8px solid transparent;
}

.mx_ContextualMenu_chevron_right::after {
content: '';
width: 0;
height: 0;
border-top: 7px solid transparent;
border-left: 7px solid $menu-bg-color;
border-bottom: 7px solid transparent;
position: absolute;
top: -7px;
right: 1px;
}

.mx_ContextualMenu_left {
left: 0;
}
Expand All @@ -89,18 +78,6 @@ limitations under the License.
border-bottom: 8px solid transparent;
}

.mx_ContextualMenu_chevron_left::after {
content: '';
width: 0;
height: 0;
border-top: 7px solid transparent;
border-right: 7px solid $menu-bg-color;
border-bottom: 7px solid transparent;
position: absolute;
top: -7px;
left: 1px;
}

.mx_ContextualMenu_top {
top: 0;
}
Expand All @@ -120,18 +97,6 @@ limitations under the License.
border-right: 8px solid transparent;
}

.mx_ContextualMenu_chevron_top::after {
content: '';
width: 0;
height: 0;
border-left: 7px solid transparent;
border-bottom: 7px solid $menu-bg-color;
border-right: 7px solid transparent;
position: absolute;
left: -7px;
top: 1px;
}

.mx_ContextualMenu_bottom {
bottom: 0;
}
Expand All @@ -151,18 +116,6 @@ limitations under the License.
border-right: 8px solid transparent;
}

.mx_ContextualMenu_chevron_bottom::after {
content: '';
width: 0;
height: 0;
border-left: 7px solid transparent;
border-top: 7px solid $menu-bg-color;
border-right: 7px solid transparent;
position: absolute;
left: -7px;
bottom: 1px;
}

.mx_ContextualMenu_spinner {
display: block;
margin: 0 auto;
Expand Down

0 comments on commit fff67e2

Please sign in to comment.