Problem/Motivation

Text alignment issue between start date to end date.

Steps to reproduce

Here is the steps:-

  1. Base theme Claro
  2. Installed smart date module
  3. created field into Article content type

For reference share attachment.

Proposed resolution

@media (min-width: 56em) {
.fieldset__wrapper .smartdate--time-inline .smartdate--separator {
    margin: 0 0.5rem 0;
}
.smartdate--time-inline {
    display: flex;
    align-items: center;
}
}

Issue fork smart_date-3379841

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

djsagar created an issue. See original summary.

djsagar’s picture

Status: Active » Needs review
djsagar’s picture

StatusFileSize
new254.47 KB
new266.15 KB

Please review this changes and share your feedback.

Thanks!

mandclu’s picture

This seems like it's related to the discussion in #3378990: bottom margin in multi value field table display, so marking that as a related issue.

djsagar’s picture

StatusFileSize
new319.16 KB

I guess no, This issue also replicated when you use Claro as default theme.

mandclu’s picture

Status: Needs review » Fixed

Thanks for identifying this, and for providing a fix. To clarify the issue, it was only evident on single value fields, in my testing.

The fix here does not resolve the related Gin issue, but because this issue changes markup that impacts that issue, I still consider them related.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.