Entities card with conditional row - card's height is changing when it shouldn't

Create two cards:

type: entities
entities:
  - input_boolean.test_boolean
  - type: conditional
    conditions:
      - entity: input_boolean.test_boolean
        state: 'on'
    row:
      entity: sun.sun
  - type: conditional
    conditions:
      - entity: input_boolean.test_boolean
        state: 'off'
    row:
      entity: sun.sun
type: entities
entities:
  - entity: input_boolean.test_boolean
  - entity: sun.sun

Both card are supposed to show same content.
But the 1st card’s height is changing - it becomes taller:

Is that a well-known issue?

Update:
Registered as a bug: https://github.com/home-assistant/frontend/issues/7292