Skip to content

Definition lists don't get consistent spacing #405

Closed

Description

@shainaraskas

Describe the bug

If a definition consists of a single paragraph and is preceded by another definition, it doesn't get a line break after it

Image

Expected behavior

Line breaks between definitions

Steps to reproduce

put this anywhere

Consumption-based billing
:   You pay for the actual product used, regardless of the application or use case. This is different from subscription-based billing models where customers pay a flat fee restricted by usage quotas, or one-time upfront payment billing models such as those used for on-prem software licenses.

    You can purchase credits for a single or multi-year contract. Consumption is on demand, and every month we deduct from your balance based on your usage and contract terms. This allows you to seamlessly expand your usage to the full extent of your requirements and available budget, without any quotas or restrictions.

Resource-based pricing
:   You are charged for the actual computing resources you use: capacity (consisting of RAM and CPU plus disk allowance), data transfer, and snapshot storage. This normalizes billing dimensions across different use cases (for example, the number of agents for APM, the number of hosts for Security, the volume of data ingest for Observability, and so on) making it easy to compare and aggregate costs.

B
:   hello

Elastic Consumption Unit (ECU)
:   An ECU is a unit of aggregate consumption across multiple resources over time.

    Each type of computing resource (capacity, data transfer, and snapshot) that you consume has its own unit of measure. For example, capacity is measured in GB-hour, data transfer in GB, snapshot storage in GB-month and snapshot API requests in thousands of requests.

    In order to aggregate consumption across different resource types, all resources are priced in ECU. ECU has a fixed exchange rate to fiat currency of 1 ECU = $1.00.

    Check [Using Elastic Consumption Units for billing](../../../deploy-manage/cloud-organization/billing/billing-models.md) for more details.

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Activity

  1. bmorelli25 commented on Feb 6, 2025

    @bmorelli25
    Member

    It looks like this is happening because definition lists without a line break are rendered as text inside <dd> blocks. In your example:

    <dd>   hello</dd>
    

    But text with line breaks are rendered as paragraph elements within the <dd> blocks. In your example:

    <dd>
    <p>   You pay for the actual product used, regardless of the application or use case. This is different from subscription-based billing models where customers pay a flat fee restricted by usage quotas, or one-time upfront payment billing models such as those used for on-prem software licenses.</p>
    <p>    You can purchase credits for a single or multi-year contract. Consumption is on demand, and every month we deduct from your balance based on your usage and contract terms. This allows you to seamlessly expand your usage to the full extent of your requirements and available budget, without any quotas or restrictions.</p>
    </dd>
    

    <p> tags currently have a margin-bottom of 1.25 rem. While <dd> tags have no margin-bottom.

  2. added
    authoring
    on Feb 6, 2025
  3. added a commit that references this issue on Feb 10, 2025
    701576f
  4. added a commit that references this issue on Feb 10, 2025
    689c4e5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    authoringbugdesign

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions