Forgot password
 Register account
View 321|Reply 3

“相关帖子”公式超出文字底线的部分不可见

[Copy link]

3200

Threads

7827

Posts

52

Reputation

Show all posts

hbghlyj posted 2022-9-25 20:06 |Read mode
Screenshot 2022-09-25 at 13-04-11 证 $_frac 1{2_sqrt n}_leqslant _frac{(2n-1)!!}.png
由于common.css
.xl2 li {
  float: left;
  margin: 2px 0;
  padding: 0;
  width: 50%;
  height: 1.5em;
  overflow: hidden;
}

把这个overflow: hidden;去除即可

3200

Threads

7827

Posts

52

Reputation

Show all posts

original poster hbghlyj posted 2022-9-25 20:15

overflow:visible会导致重叠

hbghlyj 发表于 2022-9-25 13:06
...
把这个overflow: hidden;去除即可
对比:
overflow:hiddenoverflow: visible;
Screenshot 2022-09-25 at 13-13-07 条件(圆)最值 $_frac {x _sqrt 3y}{_sqrt{x^2 y.png Screenshot 2022-09-25 at 13-13-30 条件(圆)最值 $_frac {x _sqrt 3y}{_sqrt{x^2 y.png

3200

Threads

7827

Posts

52

Reputation

Show all posts

original poster hbghlyj posted 2022-9-26 00:08

既不剪短,又不重叠的提案

hbghlyj 发表于 2022-9-25 13:15
...
原因是overflow: hidden;
但overflow:visible会导致重叠
把height: 1.5em;改为height: max-content;即可
效果:
Screenshot 2022-09-25 at 13-17-27 条件(圆)最值 $_frac {x _sqrt 3y}{_sqrt{x^2 y.png
@kuing 如何

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2022-9-26 00:44
hbghlyj 发表于 2022-9-26 00:08
把height: 1.5em;改为height: max-content;即可
效果:

height: max-content; 学习鸟,有空加。

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-15 15:09 GMT+8

Powered by Discuz!

Processed in 0.025448 seconds, 24 queries