mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 09:30:31 +03:00
Improved context menu in mobile devices
This commit is contained in:
parent
ce8888ce5d
commit
14b98fd833
2 changed files with 5 additions and 1 deletions
|
@ -45,4 +45,8 @@
|
||||||
.short-urls-row__copy-hint {
|
.short-urls-row__copy-hint {
|
||||||
@include vertical-align();
|
@include vertical-align();
|
||||||
right: 100%;
|
right: 100%;
|
||||||
|
|
||||||
|
@media (max-width: $smMax) {
|
||||||
|
right: calc(100% + 10px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ export class ShortUrlsRowMenu extends React.Component {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ButtonDropdown toggle={this.toggle} isOpen={this.state.isOpen} direction="left">
|
<ButtonDropdown toggle={this.toggle} isOpen={this.state.isOpen} direction="left">
|
||||||
<DropdownToggle color="white" size="sm" caret className="short-urls-row-menu__dropdown-toggle">
|
<DropdownToggle size="sm" caret className="short-urls-row-menu__dropdown-toggle btn-outline-secondary">
|
||||||
<FontAwesomeIcon icon={menuIcon}/>
|
<FontAwesomeIcon icon={menuIcon}/>
|
||||||
</DropdownToggle>
|
</DropdownToggle>
|
||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
|
|
Loading…
Reference in a new issue