mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-10 02:07:26 +03:00
Fixed short urls dropdown menu not properly located
This commit is contained in:
parent
4ad8e909d4
commit
6634fc41c5
2 changed files with 4 additions and 4 deletions
|
@ -15,9 +15,9 @@ import { serverType } from '../../servers/prop-types';
|
||||||
import { shortUrlType } from '../reducers/shortUrlsList';
|
import { shortUrlType } from '../reducers/shortUrlsList';
|
||||||
import PreviewModal from './PreviewModal';
|
import PreviewModal from './PreviewModal';
|
||||||
import QrCodeModal from './QrCodeModal';
|
import QrCodeModal from './QrCodeModal';
|
||||||
import './ShortUrlsRowMenu.scss';
|
|
||||||
import EditTagsModal from './EditTagsModal';
|
import EditTagsModal from './EditTagsModal';
|
||||||
import DeleteShortUrlModal from './DeleteShortUrlModal';
|
import DeleteShortUrlModal from './DeleteShortUrlModal';
|
||||||
|
import './ShortUrlsRowMenu.scss';
|
||||||
|
|
||||||
export class ShortUrlsRowMenu extends React.Component {
|
export class ShortUrlsRowMenu extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
|
@ -46,11 +46,11 @@ export class ShortUrlsRowMenu extends React.Component {
|
||||||
const toggleDelete = toggleModal('isDeleteModalOpen');
|
const toggleDelete = toggleModal('isDeleteModalOpen');
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ButtonDropdown toggle={this.toggle} isOpen={this.state.isOpen} direction="left">
|
<ButtonDropdown toggle={this.toggle} isOpen={this.state.isOpen}>
|
||||||
<DropdownToggle size="sm" caret className="short-urls-row-menu__dropdown-toggle btn-outline-secondary">
|
<DropdownToggle size="sm" caret className="short-urls-row-menu__dropdown-toggle btn-outline-secondary">
|
||||||
<FontAwesomeIcon icon={menuIcon} />
|
<FontAwesomeIcon icon={menuIcon} />
|
||||||
</DropdownToggle>
|
</DropdownToggle>
|
||||||
<DropdownMenu>
|
<DropdownMenu right>
|
||||||
<DropdownItem tag={Link} to={`/server/${serverId}/short-code/${shortUrl.shortCode}/visits`}>
|
<DropdownItem tag={Link} to={`/server/${serverId}/short-code/${shortUrl.shortCode}/visits`}>
|
||||||
<FontAwesomeIcon icon={pieChartIcon} /> Visit stats
|
<FontAwesomeIcon icon={pieChartIcon} /> Visit stats
|
||||||
</DropdownItem>
|
</DropdownItem>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
@import '../../utils/base';
|
@import '../../utils/base';
|
||||||
|
|
||||||
.short-urls-row-menu__dropdown-toggle:before {
|
.short-urls-row-menu__dropdown-toggle:after {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue