Bienvenue, Invité
Nom d'utilisateur : Mot de passe :


I have developed a range of add-ons for webtrees available only from my kiwitrees.net web site: kiwitrees.net/simpl-add-ons/. For any queries related to those items contact me direct from that site.

SUJET : Calendar selector in edit_interface

Calendar selector in edit_interface il y a 6 ans 7 mois #1

  • WGroleau
  • Portrait de WGroleau
  • Hors Ligne
  • Gold
  • Messages : 1520
Looking at an item in mediaviewer.php, I clicked the edit pencil under the word "Filename" (which actually introduces path/name/format/title).

In the edit_interface.php popup, I clicked the calendar icon. The calendar overflows the form on the right and on the bottom, but overflow is hidden. The overflow itself is because the dates are too wide. The calendar table width is set to 100% but it is inline instead of in CSS. At first, I blamed FireFox for treating it as 100% of screen width instead of the width of the enclosing TD. But then I checked the default them and it looks OK there. I don't understand that because the thing is drowning in inline CSS and nested tables, so how can it be theme dependent?
--
Wes Groleau
UniGen.us/
PHP 7.2.15; MySQL 5.6.40; Apache
L'administrateur a désactivé l'accès en écriture pour le public.

Calendar selector in edit_interface il y a 6 ans 7 mois #2

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4949
Probably nothing much. I'll try and sort this for the next release.
Nigel

www.our-families.info

Hosted at:
Follow me at:
L'administrateur a désactivé l'accès en écriture pour le public.

Calendar selector in edit_interface il y a 6 ans 7 mois #3

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4949
Add this line to the style sheet, with the other "edit_interface-page" settings:
#edit_interface-page div[id^="caldiv"] .descriptionbox{min-width:auto;}
Nigel

www.our-families.info

Hosted at:
Follow me at:
L'administrateur a désactivé l'accès en écriture pour le public.

Calendar selector in edit_interface il y a 6 ans 7 mois #4

  • WGroleau
  • Portrait de WGroleau
  • Hors Ligne
  • Gold
  • Messages : 1520
Thanks! That made the horizontal excellent.

There is still vertical cut-off, I think. HTML looks like there are more than the four rows that are visible. I tried putting different values of overflow in different places but didn't succeed.
--
Wes Groleau
UniGen.us/
PHP 7.2.15; MySQL 5.6.40; Apache
L'administrateur a désactivé l'accès en écriture pour le public.

Calendar selector in edit_interface il y a 6 ans 7 mois #5

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4949
WGroleau écrit:
There is still vertical cut-off, I think.

I think there is something wrong with the styling of that whole add-media pop-up. I'll hopefully get chance to look at it in a few days.
Nigel

www.our-families.info

Hosted at:
Follow me at:
L'administrateur a désactivé l'accès en écriture pour le public.

Calendar selector in edit_interface il y a 6 ans 7 mois #6

  • WGroleau
  • Portrait de WGroleau
  • Hors Ligne
  • Gold
  • Messages : 1520
I think it looks pretty good, but if you're going to work on it, I'd suggest a tiny bit of space around the form to show off the rounded corners better.
--
Wes Groleau
UniGen.us/
PHP 7.2.15; MySQL 5.6.40; Apache
L'administrateur a désactivé l'accès en écriture pour le public.

Calendar selector in edit_interface il y a 6 ans 7 mois #7

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4949
WGroleau écrit:
There is still vertical cut-off, I think.

It looks like there is an unnecessary "position:relative;" on the #content tag at around line 154.

Remove that, and give it a while to be sure it doesn't have any adverse effects elsewhere, then let me know. So far it seems to be OK on my system.
Nigel

www.our-families.info

Hosted at:
Follow me at:
L'administrateur a désactivé l'accès en écriture pour le public.

Calendar selector in edit_interface il y a 6 ans 7 mois #8

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4949
I've found why that "position:relative;" was there. Without it the lines on the pedigree chart disappear. So you should put that back in place.

The correct solution for the calendar problem is to add this:

#body_simple #content{position:inherit}
Nigel

www.our-families.info

Hosted at:
Follow me at:
L'administrateur a désactivé l'accès en écriture pour le public.
Avez-vous besoin d'une solution d'hébergement web pour votre site webtrees ?
Si vous préférez un hébergeur spécialisé de webtrees, la page suivante en liste quelques-uns capables de vous offrir ce type de service :

Calendar selector in edit_interface il y a 6 ans 7 mois #9

  • WGroleau
  • Portrait de WGroleau
  • Hors Ligne
  • Gold
  • Messages : 1520
Thanks. Don't use pedigree much, so I would have taken a while to find that.
Copied in the new one; see what happens.
--
Wes Groleau
UniGen.us/
PHP 7.2.15; MySQL 5.6.40; Apache
L'administrateur a désactivé l'accès en écriture pour le public.
Propulsé par Kunena