jon48 / webtrees-theme-rural

Rural theme for webtrees
GNU General Public License v3.0
11 stars 2 forks source link

adjust size of person box to see all content #44

Closed arbor95 closed 2 years ago

arbor95 commented 2 years ago

You can configure the content of a persons info-box, but the content is truncated. Perhaps the size of the info-box can be resized dynamically corresponding to real content. In webtrees theme it seems to be a fixed hight depending on the content. see: rural-theme webtrees-theme

jon48 commented 2 years ago

Hello, This is not really an issue with the Rural theme itself, as you can see with boxes on my own website, which are larger than yours.

image

The theme does not set the height of the boxes (hence allow for dynamic sizing), but looking at your website, you have enabled the CustomCSS module, which add some additional CSS, and for instance a fixed width and height for the chartboxes. As the rem base is not the same between the standard themes and the rural one, the boxes look smaller. In my opinion, as custom CSS is aimed at the standard themes, it should not be enabled at the same time as the Rural theme, as it is not taking into account its specificities.

arbor95 commented 2 years ago

Thx for your information. For me as newbie of webtrees the dependencies of checking options or enabling modules are not always obvious or clear. Sorry for taking your time.

makitso commented 2 years ago

As noted in the description of custom-css it works with standard themes only. So, you have two options;

  1. remove the custom-css module or
  2. delete lines 87-92 of custom-css/resources/css/custom.css