shuashuai commented on PR #919:
URL: https://github.com/apache/incubator-answer/pull/919#issuecomment-2076268384

   @hgaol 
   
   > Back to the main content, do you mean the 'Post' column? What about 20rem, 
or any other suggested value?
   
   yes, I think 15rem is more suitable!
   
   Note that in the `/admin/answers` page, the post width will also be 
determined by div.text-truncate-2, you  can  see here
   
![image](https://github.com/apache/incubator-answer/assets/30591202/27990ab0-ce08-4217-9a4d-8cb318a0d5a9)
   
   you need to modify the size through media query:
   
   1. first add an `index.scss` file, then reference the file within the page 
`import './index.scss';
   2. add the following code
   
![image](https://github.com/apache/incubator-answer/assets/30591202/0360a3d0-8a98-4fa4-96fa-aa996f0f90a6)
   3.  div.text-truncate-2 add class 'max-w-30' and remove inline style
   
![image](https://github.com/apache/incubator-answer/assets/30591202/11a34717-cb9c-4cdd-9044-8a6be7399aed)
   
   
   
   > Do you know why and should I continue to set the min-width to adjust the 
other title content? And how...
   
   What I mean is to try to avoid title being compressed. this can be achieved 
simply,you can avoid this by adding the class name `text-nowrap`, eg:
   
   
![image](https://github.com/apache/incubator-answer/assets/30591202/8a833fc4-c2da-4cfd-b602-8f2d6d1235a0)
   
   The final effect looks like this:
   
   
![image](https://github.com/apache/incubator-answer/assets/30591202/2c287d79-6b16-4e2f-8ea8-e9a60eef3760)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to