some ai generated code from claude that does not work
This commit is contained in:
@@ -1056,6 +1056,159 @@ html, body {
|
||||
.mx-compose-wrapper { display: none; }
|
||||
}
|
||||
|
||||
/* ── Avatar image ── */
|
||||
.mx-avatar-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: inherit;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* ── Tweet sub-handle (@username) ── */
|
||||
.mx-tweet-subhandle {
|
||||
font-size: 0.78rem;
|
||||
color: var(--mx-muted);
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
/* ── Profile editor ── */
|
||||
.mx-profile-editor {
|
||||
padding: 1.5rem 1.25rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.25rem;
|
||||
max-width: 480px;
|
||||
}
|
||||
|
||||
.mx-profile-avatar-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.mx-profile-avatar-wrap {
|
||||
position: relative;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.mx-profile-avatar-img {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
border: 2px solid var(--mx-border2);
|
||||
}
|
||||
|
||||
.mx-profile-avatar-placeholder {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, var(--mx-accent) 0%, var(--mx-accent2) 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: white;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.mx-profile-avatar-edit-btn {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
border-radius: 50%;
|
||||
background: var(--mx-accent);
|
||||
border: 2px solid var(--mx-bg);
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.mx-profile-avatar-edit-btn:hover { background: var(--mx-accent2); }
|
||||
.mx-profile-avatar-edit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
|
||||
|
||||
.mx-profile-stats {
|
||||
display: flex;
|
||||
gap: 1.25rem;
|
||||
font-size: 0.875rem;
|
||||
color: var(--mx-muted);
|
||||
}
|
||||
.mx-profile-stats strong { color: var(--mx-fg); }
|
||||
|
||||
.mx-profile-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
}
|
||||
|
||||
.mx-profile-label {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
color: var(--mx-fg2);
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mx-profile-input {
|
||||
background: var(--mx-surface);
|
||||
border: 1px solid var(--mx-border2);
|
||||
border-radius: var(--mx-radius-sm);
|
||||
padding: 0.5rem 0.75rem;
|
||||
color: var(--mx-fg);
|
||||
font-family: inherit;
|
||||
font-size: 0.9375rem;
|
||||
width: 100%;
|
||||
transition: border-color 0.15s;
|
||||
outline: none;
|
||||
}
|
||||
.mx-profile-input:focus { border-color: var(--mx-accent); }
|
||||
.mx-profile-input--readonly { color: var(--mx-muted); cursor: not-allowed; }
|
||||
|
||||
.mx-profile-input-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: var(--mx-surface);
|
||||
border: 1px solid var(--mx-border2);
|
||||
border-radius: var(--mx-radius-sm);
|
||||
padding: 0 0.75rem;
|
||||
transition: border-color 0.15s;
|
||||
}
|
||||
.mx-profile-input-wrap:focus-within { border-color: var(--mx-accent); }
|
||||
|
||||
.mx-profile-at {
|
||||
color: var(--mx-muted);
|
||||
font-size: 0.9375rem;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.mx-profile-input--handle {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
padding-left: 0.25rem;
|
||||
background: transparent;
|
||||
}
|
||||
.mx-profile-input--handle:focus { border-color: transparent; }
|
||||
|
||||
.mx-profile-hint {
|
||||
font-size: 0.72rem;
|
||||
color: var(--mx-muted);
|
||||
margin-top: 0.125rem;
|
||||
}
|
||||
|
||||
/* Narrow phones (≤ 640 px): tighten spacing */
|
||||
@media (max-width: 640px) {
|
||||
.mx-feed { padding: 0.625rem; gap: 0.5rem; }
|
||||
|
||||
Reference in New Issue
Block a user