From 20fc5036f8de9109b21e901d04f0dac651e40fc6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 2 Apr 2021 23:48:33 +0200 Subject: add jakrawals countr and sync script --- frontend/app/views/graph/graph.css | 1 + frontend/app/views/page/page.css | 1 + frontend/app/views/tile/forms/tile.form.hyperlink.js | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'frontend/app/views') diff --git a/frontend/app/views/graph/graph.css b/frontend/app/views/graph/graph.css index 280ce58..c796d3f 100644 --- a/frontend/app/views/graph/graph.css +++ b/frontend/app/views/graph/graph.css @@ -279,6 +279,7 @@ button.box_corner:hover { .cursorList .cursors img { max-width: 50px; max-height: 50px; + user-select: none; } /* Graph handles */ diff --git a/frontend/app/views/page/page.css b/frontend/app/views/page/page.css index 8e6e156..1db3930 100644 --- a/frontend/app/views/page/page.css +++ b/frontend/app/views/page/page.css @@ -178,6 +178,7 @@ /* sample cursor */ .sampleCursor { + cursor: pointer; max-width: 50px; max-height: 50px; } diff --git a/frontend/app/views/tile/forms/tile.form.hyperlink.js b/frontend/app/views/tile/forms/tile.form.hyperlink.js index 4d3e0b5..b9fb038 100644 --- a/frontend/app/views/tile/forms/tile.form.hyperlink.js +++ b/frontend/app/views/tile/forms/tile.form.hyperlink.js @@ -11,6 +11,9 @@ import { NO_POPUP, OPEN_POPUP_LINK, CLOSE_POPUP_LINK } from './tile.constants' +import { dispatch } from 'app/store' +import { toggleCursorList } from 'app/views/page/page.actions' + export default function TileHyperlinkForm({ tile, pageList, popupList, cursors, parent }) { const isExternalLink = tile.target_page_id === EXTERNAL_LINK // const isPopupLink = ( @@ -43,7 +46,7 @@ export default function TileHyperlinkForm({ tile, pageList, popupList, cursors, /> {cursor && ( - + toggleCursorList(true)(dispatch)} /> )} {isExternalLink && (
-- cgit v1.2.3-70-g09d2