0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 01:52:42 +00:00

Extra classes were needed for .recent and .save

.save has special styling for the "on" button.

.recent has special styling for the dividers between Edited and Viewed
This commit is contained in:
Trevor Buckner
2024-03-06 15:32:38 -05:00
parent f172d02920
commit 58422569c9
4 changed files with 5 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ const Nav = {
});
return (
<div className={`navDropdownContainer ${props.className? props.className : ""}`}
<div className={`navDropdownContainer ${props.className ?? ''}`}
ref={myRef}
onMouseEnter = { props.trigger.includes('hover') ? ()=>handleDropdown(true) : undefined }
onMouseLeave = { props.trigger.includes('hover') ? ()=>handleDropdown(false) : undefined }