xwikisas / macro-pdfviewer

0 stars 4 forks source link

No Search option if adding the PDF Viewer as a gadget in a column on a Dashboard page #4

Open ilieandriuta opened 6 years ago

ilieandriuta commented 6 years ago

STEPS TO REPRODUCE:

  1. Install PDF Viewer Macro (Pro)
  2. In a Dashboard page add a PDF file as an attachment
  3. Add the PDF Viewer as a gadget in a column, with the PDF previously attached

EXPECTED RESULTS

The search option is displayed (magnifying glass).

ACTUAL RESULTS

The magnifying glass is not displayed if the PDF Viewer is added as a gadget in a column. However, if the gadget is not constrained by the column width the "magnifying glass" icon is displayed.

Environment: Windows 10 Pro 64 bit, Chrome 67, using a local instance of XWiki 10.5 on PostgreSQL 10

The issue was also created on JIRA.

pdf_viewer_full_width

pdf_viewer_no_search

acotiuga commented 6 years ago

This is not a bug, but the default display on small screens.

@media all and (max-width: 600px) {
  .hiddenSmallView {
    display: none;
  }
...