-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Val dev merged reordered #219
base: develop
Are you sure you want to change the base?
Conversation
… into develop stay up to date
-moz-user-select: none; /* Firefox */ | ||
-ms-user-select: none; /* Internet Explorer/Edge */ | ||
user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */ | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@4xdk Do you see this used anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah nice spot. I've used it on the menu but it went missing during refactoring I'll add it back to nav-pursuances!
action='about' | ||
icon={<Info size={28} />} | ||
/> | ||
<PursuanceMenuItem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@4xdk The latest version of this (in develop
) is different; we no longer need to pass in pursuanceId
and location
explicitly, as PursuanceMenuItem
is now reduxified.
|| | ||
location.pathname.indexOf(`/${action}`) !== -1 | ||
)) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is also more to this function now in develop
; it treats the discuss
action differently, which is what we want.
font-weight: normal; | ||
} | ||
|
||
.custom-dropdown { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | ||
|
||
.custom-dropdown::before { | ||
background-color: rgba(0,0,0,.15); | ||
#dashboard .sort .dropdown.open > .dropdown-menu { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@4xdk Do you like using the >
for efficiency? It makes things more brittle, but I don't know about the speed differences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I just prefer to be reasonably specific to avoid styling something I didn't intend to. Especially working with unfamiliar code or overly generic classes as is the case here.
I wouldn't worry about CSS performance at all until we get to some serious animations.
Hopefully I didn't remove anything that was needed.
This is related to issues #122 and #123