mirror of
https://github.com/coaidev/coai.git
synced 2025-05-20 05:20:15 +09:00
optimize style of markdown image
This commit is contained in:
parent
b3dbef5b48
commit
552d3002a9
@ -198,6 +198,7 @@
|
|||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
background-color: var(--color-canvas-default);
|
background-color: var(--color-canvas-default);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
max-height: 35vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body code,
|
.markdown-body code,
|
||||||
|
@ -15,7 +15,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const defaultMessage = "Sorry, I don't understand. Please try again."
|
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) {
|
func CollectQuota(c *gin.Context, user *auth.User, buffer *utils.Buffer, uncountable bool) {
|
||||||
db := utils.GetDBFromContext(c)
|
db := utils.GetDBFromContext(c)
|
||||||
|
Loading…
Reference in New Issue
Block a user