optimize style of markdown image

This commit is contained in:
Zhang Minghan 2023-12-26 00:33:07 +08:00
parent b3dbef5b48
commit 552d3002a9
2 changed files with 2 additions and 1 deletions

View File

@ -198,6 +198,7 @@
box-sizing: content-box;
background-color: var(--color-canvas-default);
border-radius: 4px;
max-height: 35vh;
}
.markdown-body code,

View File

@ -15,7 +15,7 @@ import (
)
const defaultMessage = "Sorry, I don't understand. Please try again."
const defaultQuotaMessage = "You don't have enough quota to use this model. please [buy](/buy) or [subscribe](/subscribe) to get more. (or try to refresh the page)"
const defaultQuotaMessage = "You don't have enough quota or you don't have permission to use this model. please [buy](/buy) or [subscribe](/subscribe) to get more."
func CollectQuota(c *gin.Context, user *auth.User, buffer *utils.Buffer, uncountable bool) {
db := utils.GetDBFromContext(c)