feature request #6442
closedFeature block settings: margins for data in block level elements
100%
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.
Updated by Andreas Kohlbecker about 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset cdm-dataportal|29f63b48d79e7fa3af080758ee0a261ede9c9d0f.
Updated by Andreas Kohlbecker about 7 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.
Updated by Andreas Müller almost 7 years 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"?
Updated by Andreas Kohlbecker almost 7 years ago
The like this:
- see the "Notes" feature elements having no space: http://caryophyllales.org/nepenthaceae/cdm_dataportal/taxon/53d8bdee-f688-4c98-a90a-ef794bc23845
- got to http://caryophyllales.org/nepenthaceae/admin/config/cdm_dataportal/settings/layout/taxon#edit-feature-block-settings-b5780b45-6439-4f3c-9818-d89d26d36eb2 and select 'p' as element tag & save the changes
- see the "Notes" feature elements being separated by space now
Done
Updated by Andreas Kohlbecker about 2 years ago
- Status changed from Feedback to Closed
- % Done changed from 50 to 100
apparently solved