איך להפוך את מיקום האווטאר כך שיהיה לפני טקסט הנושא?

סיכום מבוסס בינה מלאכותית

A user, rivohor, seeks to reverse the position of the avatar to be in front of the topic text. chapoi explains that this is a complex task due to the HTML structure and provides a CSS solution, cautioning that it may not be robust. Moin suggests using a specific theme component for this purpose. rivohor later confirms using the theme component and expresses gratitude for the help.

like this

שלום וברוכים הבאים ל-Discourse!

זהו דבר שקשה להפליא לעשות: הוא משתמש באלמנט טבלה וזה לא פשוט לשנות את הסדר מבלי לשנות את מבנה ה-HTML בפועל. ושינוי המבנה למעשה יחייב החלפת הרכיב בתבנית משלך, מה שאני לא ממליץ לנסות כלל.

ניסיתי זאת במהירות, וזה אפשרי במידה מסוימת עם CSS טהור, אך זו אינה יישום חזק במיוחד.

במקרה שתרצה לנסות:

.topic-list-item {
    position:relative;
}

.topic-list .posters {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 150px;
    overflow: hidden;
    display: block;
    box-sizing: border-box;
    height: auto;
}

.topic-list .topic-list-data:first-of-type {
    padding-inline-start: 150px;
}

אני מציע שתגביל את זה לשולחן עבודה!

Welcome to Meta :waving_hand:

Do you want the topic list to look like this?

I think you can do that with this component

לא ברור לי מה-OP אם הבקשה היא להעביר את מחבר הנושא או את כל האווטארים.

זה נכון, תודה על העזרה, תודה רבה

תודה רבה גם על העזרה, בסופו של דבר השתמשתי ברכיב התמה הזה, ובכל זאת, אני מאוד מעריך את זה