🐛(layer): 修复 content-height 计算错误
This commit is contained in:
@@ -167,9 +167,9 @@ export function calculateContent(
|
||||
} else {
|
||||
if (type == 0) {
|
||||
if (title) {
|
||||
return isMessage ? height : "calc(" + height + " - 137px)";
|
||||
return isMessage ? '' : "calc(" + height + " - 137px)";
|
||||
} else {
|
||||
return isMessage ? height : "calc(" + height + " - 86px)";
|
||||
return isMessage ? '' : "calc(" + height + " - 86px)";
|
||||
}
|
||||
}
|
||||
if (type == 1 || type == 4) {
|
||||
|
||||
Reference in New Issue
Block a user