@use "../vars"; $currentColor: #1185fe; .dashboard-feed { font-size: 0.95rem; display: flex; flex-direction: column; overflow: scroll; p { color: #8d8d8d; } max-width: 600px; width: 100%; min-width: 0; @media (max-width: 850px) { max-width: 500px; } @media (max-width: 768px) { max-width: 100%; margin: 0; padding: 0; } } .post { display: flex; flex-direction: column; gap: 0.1rem; margin: 0.5rem 0; border-bottom: 1px solid #444; min-width: 0; width: 100%; } .post-context { display: flex; gap: 0.5rem; padding-left: 2.5rem; padding-bottom: 0.5rem; max-height: 32px; align-items: center; text-align: left; .post-context-user { color: $currentColor; } span { color: rgba(185, 185, 186, 0.5); } span:first-of-type { margin-left: 0.5rem; } img { max-height: 24px; border-radius: 5px; } svg { max-height: 16px; border-radius: 5px; } @media (max-width: 850px) { span:first-of-type { margin-left: 0rem; } } @media (max-width: 768px) { padding-left: 2rem; gap: 0.34rem; span:first-of-type { margin-left: 0.1rem; } } } .post-content { display: flex; flex-direction: row; gap: 1rem; padding-left: 1rem; min-width: 0; @media (max-width: 850px) { gap: 0.75rem; padding-left: 0.75rem; } @media (max-width: 768px) { padding-left: 0.5rem; gap: 0.5rem; } } .post-main { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; min-width: 0; overflow-wrap: break-word; } .post-avatar { width: 48px; height: 48px; border-radius: 5px; flex-shrink: 0; @media (max-width: 768px) { width: 48px; height: 48px; } } .post-header { display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between; text-align: left; width: 100%; min-width: 0; gap: 1rem; .post-author { display: flex; gap: 0.5rem; align-items: baseline; min-width: 0; flex: 1; overflow: hidden; span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .post-author-handle { color: #1185fe; } } .post-time { color: #8d8d8d; white-space: nowrap; flex-shrink: 0; margin-left: auto; margin-right: 1rem; } @media (max-width: 850px) { .post-author { span { max-width: 150px; } } } @media (max-width: 768px) { flex-direction: row; align-items: flex-start; justify-content: space-between; .post-author { flex-direction: column; align-items: flex-start; gap: 0.25rem; flex: none; max-width: calc(100% - 80px); span { white-space: normal; overflow-wrap: break-word; word-break: break-word; max-width: none; overflow: visible; text-overflow: clip; } } .post-time { align-self: flex-start; } } } .post-body { text-align: left; margin-top: 0.25rem; margin-right: 1rem; overflow-wrap: break-word; word-break: break-word; @media (max-width: 850px) { margin-right: 0.75rem; } @media (max-width: 768px) { margin-right: 0.5rem; } } .post-interactions { text-align: left; margin-left: 1rem; @media (max-width: 850px) { margin-left: 0.75rem; } @media (max-width: 768px) { margin-left: 0.5rem; } }