From c42141f7c72112129b4078406cbd234addac947b Mon Sep 17 00:00:00 2001 From: PandaDEV <70103896+0PandaDEV@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:56:12 +1000 Subject: [PATCH] fix: overflow for urls --- assets/css/index.scss | 51 ++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/assets/css/index.scss b/assets/css/index.scss index da464c5..a013480 100644 --- a/assets/css/index.scss +++ b/assets/css/index.scss @@ -233,34 +233,39 @@ $mutedtext: #78756f; display: flex; gap: 0; flex-direction: column; - } - .info-row { - display: flex; - width: 100%; - font-size: 12px; - justify-content: space-between; - padding: 8px 0; - border-bottom: 1px solid $divider; + .info-row { + display: flex; + width: 100%; + font-size: 12px; + justify-content: space-between; + padding: 8px 0; + border-bottom: 1px solid $divider; - &:last-child { - border-bottom: none; - padding-bottom: 0; - } + &:last-child { + border-bottom: none; + padding-bottom: 0; + } - &:first-child { - padding-top: 22px; - } + &:first-child { + padding-top: 22px; + } - p { - font-family: SFRoundedMedium; - color: $text2; - font-weight: 500; - } + p { + font-family: SFRoundedMedium; + color: $text2; + font-weight: 500; + flex-shrink: 0; + } - span { - font-family: CommitMono; - color: $text; + span { + font-family: CommitMono; + color: $text; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + margin-left: 16px; + } } } }