mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-26 13:21:17 +00:00
Redesign history context button
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
6f07490f61
commit
eb92d38133
2 changed files with 11 additions and 3 deletions
|
@ -7,4 +7,12 @@
|
|||
&:hover .fa, &:hover::after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.btn {
|
||||
padding: 0.6rem 0.65rem;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-toggle.no-arrow::after {
|
||||
content: initial;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue