Skip to content

Text Component should handle overflow strategies #126

@marchant

Description

@marchant
 .marquee-container {
  overflow: hidden; /* Hide overflowing text */
  white-space: nowrap; /* Keep text on one line */
  width: 100%; /* Or set a specific width */
}

.marquee-content {
  display: inline-block;
  padding-left: 100%; /* Start outside the right edge */
  animation: marquee 10s linear infinite; /* Adjust speed */
}

@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

trigger on hover:
.marquee-container:hover .marquee-content {
  animation: marquee 10s linear infinite;
}

But on touch input we might want to use long press?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions