From 3459530b2b03317bc0b2bb711ed841fe0621de11 Mon Sep 17 00:00:00 2001 From: Trung Le Date: Wed, 11 Dec 2024 20:27:04 -0800 Subject: [PATCH] Update rt-vcard.css --- css/rt-vcard.css | 44 ++++++++++++++++---------------------------- 1 file changed, 16 insertions(+), 28 deletions(-) diff --git a/css/rt-vcard.css b/css/rt-vcard.css index c36216b..dc312e8 100644 --- a/css/rt-vcard.css +++ b/css/rt-vcard.css @@ -132,12 +132,6 @@ body { transition: background-color var(--transition-speed); } -.contact-item span { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - .contact-item:hover { background: #e0e0e0; } @@ -159,6 +153,22 @@ body { text-decoration: underline; } +.location-wrapper { + margin-bottom: 16px; +} + +.contact-item.location { + grid-column: 1 / -1; + width: 100%; +} + +.contact-item.location span { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + + @media (max-width: 768px) { .business-card { padding: 24px; @@ -222,25 +232,3 @@ body { } } - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file