Redesign history context button

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
Tilman Vatteroth 2020-06-13 23:38:57 +02:00 committed by mrdrogdrog
parent 6f07490f61
commit eb92d38133
2 changed files with 11 additions and 3 deletions

View file

@ -7,4 +7,12 @@
&:hover .fa, &:hover::after {
opacity: 1;
}
&.btn {
padding: 0.6rem 0.65rem;
}
}
.dropdown-toggle.no-arrow::after {
content: initial;
}

View file

@ -17,9 +17,9 @@ export interface EntryMenuProps {
const EntryMenu: React.FC<EntryMenuProps> = ({ id, location, isDark, onRemove, onDelete, className }) => {
return (
<Dropdown className={className || ''}>
<Dropdown.Toggle size="sm" variant={isDark ? 'secondary' : 'light'} id={`dropdown-card-${id}`} className='history-menu d-flex align-items-center'>
<ForkAwesomeIcon icon="ellipsis-h" className='history-menu'/>
<Dropdown className={`d-inline-flex ${className || ''}`}>
<Dropdown.Toggle variant={isDark ? 'secondary' : 'light'} id={`dropdown-card-${id}`} className='no-arrow history-menu d-inline-flex align-items-center'>
<ForkAwesomeIcon icon="bars" className=''/>
</Dropdown.Toggle>
<Dropdown.Menu>