Skip to content

Commit

Permalink
fix: prevent timestamp wrapping (#462)
Browse files Browse the repository at this point in the history
Discord doesnt have wrapping on timestamps, so this ensures no wrapping.

Co-authored-by: Jeroen Claassens <support@favware.tech>
  • Loading branch information
dpaulos6 and favna authored Aug 24, 2024
1 parent 930a691 commit 7ce20a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/components/discord-time/DiscordTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export class DiscordTime extends LitElement {
*/
public static override readonly styles = css`
:host {
white-space: nowrap;
background-color: #ffffff0f;
border-radius: 3px;
padding: 0 2px;
Expand Down

0 comments on commit 7ce20a7

Please # to comment.