• This topic has prefixes assigned
Viewing 3 posts - 1 through 3 (of 3 total)
Author
Posts
  • #10156

    Just tried this admin feature. Saw this happen in more than one source displayed — data appears midway down cells. Appearing in my new install of 3.3.3 (02)

    ----- [updated: 31Aug2023]

     Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 -  PHP Version 8.1.17 - mySQL 8.1
    The Royals |The Kennedys|The Gerrer Rabbis  3.3.12 -  PHP Version 8.1.17 - mySQL 8.1

  • #10158

    That’s an interesting issue. I’ve moved it to “Bugs” so others might find the fix, Its a bug in the sense that the design can be improved, but it’s not a bug in that it is working “as designed”.

    The problem is not that data is displayed half-way down cells. The vertical centring is deliberate. There are actually a few other issues that are causing it:

    1 – The problem really only becomes glaringly obvious on Apple devices. When I checked I could see it on my iPad, but not on my PC. It appears that Apple / Safari do not recognise the standard CSS “width: 100%” on a table. Normally that causes the table to always fit the available screen width, regardless of the amount of data in the cells. Further, it doesn’t add scrollbars when the table (as in your case) is too wide, it simply hides the excess. Your image shows you are missing two columns, including one titled “Citation text” which is where you have relatively large results to display, causing the cell to grow tall, and displaying the centred text you see.

    2 – I had, in the code, attempted to constrain the widths of the cells and to ensure names of people and families fitted well, without wrapping. That is what caused the table in your screen to become too wide to all display, when combined with the issue in 1, above. In other devices, the cells simply get narrower, but still, show.

    The fix is simple though. In the attached zip folder is a replacement for the file kiwitrees/admin_trees_source.php that should do it. However, it is a hard set of data to display easily, so some circumstances will still seem a little squashed and or wrapped in order to fit. That depends what you have in your citations, which I cannot control, of course.

    The first item above might also be causing as yet unnoticed issues in other similar tables. I’ll fix those for the next release of kiwitrees as well.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #10160

    Post-install of fix file:

    Sources – review S1:
    The placement “in center” is better, at least I saw the first entry existed. However, the text from #1 (white blocks) seemed to run into #2 (grey blocks) because the person/family detail is centered and not on screen. I actually thought the Citation from #1 was running into #2.

    Citation text spacing is about 1.5 maybe should be single.
    Event date column is this fixed to allow for date range of FROM 01 JAN 1900 TO 31 DEC 1900? If so, if that was to wrap would allow for Citation text more room. However, if this isn’t ported “as-is” to new version then can stand until release.

    ----- [updated: 31Aug2023]

     Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 -  PHP Version 8.1.17 - mySQL 8.1
    The Royals |The Kennedys|The Gerrer Rabbis  3.3.12 -  PHP Version 8.1.17 - mySQL 8.1

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Review source’ is closed to new replies.