In my forum,
1.I have an ample amount of space to use it for extending the post created by user.It rather looks clumpsy now.I want to utilize the space so that the post looks good,like the homepage is screen friendly using code:
I ended up going 75% because we are a very media heavy site. That’s the great part about Discourse, you can make it whatever you want it to be as long as you make sure it doesn’t conflict with other elements on the page.
I had 75 originally but line breaks in the “reply by new topic” button looked really weird, along with the topic links in the gutter.
I think the team has plans to move the topic links below the posts and clear out the gutter in a later release, but until then just be mindful of the gutter content.
I changed my Topic Body as follows (by adding to my CSS):
.topic-body {
min-width: 80%;
}
After switching to 80%, I noticed that the Topic Timeline scrunches over the Topic Body starting at 1260px, until the time when it naturally disappears for mobile (maybe 800px?)
لم أجرب هذا، لكنني أظن أنك محق! أسلوبي في CSS ليس دائمًا الأفضل! مجرد تجربة بعض الأساليب المختلفة حتى أتمكن من جعل الصفحة تفعل ما أريد! أعمل حاليًا على بناء مجتمع جديد. إذا انتهيت برغبتي في نفس الشيء، فسأعود لأخبركم عن كيفية سير الأمور! شكرًا لتدخلك بحل آخر (ربما أفضل)!
أول جزأين من المجموع هنا مأخوذان من SCSS القياسي الخاص بـ Discourse.
هناك بعض التحسينات البسيطة في واجهة المستخدم مثل زيادة حجم الفواصل ومنشورات إجراءات المشرفين أيضًا، وتم تعطيلها الآن في منشورات DiscoTOC لأنها تتصرف بشكل غريب هناك.
أيضًا، أضفت خيارًا لزيادة العرض الأقصى للمحرر لجعل المعاينة تتطابق مع عرض المنشور. ليس بنفس العرض تمامًا، لكن النسخة القياسية تعاني من نفس المشكلة.
رائع جداً يا @Alex_P. إذا أمكنك جعلها تعمل مع سمة Material Design، فسيكون ذلك رائعاً. المشكلة هناك هي أن الصورة الشخصية على يسار المنشور تنتقل من الجانب إلى أعلى المنشور نفسه.