Project

General

Profile

feature request #6442

Feature block settings: margins for data in block level elements

Added by Andreas Kohlbecker almost 2 years ago. Updated over 1 year ago.

Status:
Feedback
Priority:
Highest
Category:
cdm-dataportal
Target version:
Start date:
03/01/2017
Due date:
% Done:

50%

Severity:
normal

Description

If div is selected for the enclosing tag it is often desirable to display the resuling text blocks as paragraphs with a margin.
This could be easily achieved by also allowing to use p as enclosing tag.

example Nepenthes gracillima: http://caryophyllales.org/nepenthaceae/cdm_dataportal/taxon/53d8bdee-f688-4c98-a90a-ef794bc23845

This page has a 'Notes' feature block containing multiple feature elements. The feature elements should be separated by space. This is currently only possible by applying a margin rule per css style rule. Since having a space inbetween the feature elements is expected to be a common requirements this should be configurabel via the settings.

Associated revisions

Revision 29f63b48 (diff)
Added by Andreas Kohlbecker almost 2 years ago

fix #6442 p tags as additional option to enclose description elements with

Revision e4272e1b (diff)
Added by Andreas Kohlbecker almost 2 years ago

fix #6442 p tags as additional option to enclose description elements with

History

#1 Updated by Andreas Kohlbecker almost 2 years ago

  • Tags set to caryophyllales

#2 Updated by Andreas Kohlbecker almost 2 years ago

  • Description updated (diff)

#3 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#4 Updated by Andreas Kohlbecker almost 2 years ago

  • Assignee changed from Andreas Kohlbecker to Andreas Müller

I removed the style

#Notes .DescriptionElement-TextData {
  margin-bottom: 1em;
}

again from the nepenthaceae portal theme setting, you can choose p once the release is deployed to achieve the same effect.

#5 Updated by Andreas Müller over 1 year ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Andreas Kohlbecker

Not sure anymore what this ticket is all about. Can you leave me a note how and what to test?

What exactly is meant by "rom the nepenthaceae portal theme setting, you can choose p"?

#6 Updated by Andreas Kohlbecker over 1 year ago

  • Description updated (diff)

#7 Updated by Andreas Kohlbecker over 1 year ago

The like this:

Done

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)