iter(g141): 通知支持四角停靠
This commit is contained in:
@@ -4399,3 +4399,16 @@ h5.ua-type-title { font-size: var(--ua-font-size-md); }
|
||||
outline: 2px solid var(--ua-color-accent);
|
||||
outline-offset: -2px; /* 环画在行内,避免被表格滚动容器裁掉 */
|
||||
}
|
||||
|
||||
/* —— 通知角落:右上与 toast 同侧,左列放次要信息 —— */
|
||||
.ua-notice-host.is-top-right,
|
||||
.ua-notice-host.is-top-left {
|
||||
top: var(--ua-space-4);
|
||||
bottom: auto;
|
||||
flex-direction: column-reverse; /* 新通知贴着屏幕边缘出现,旧的下移 */
|
||||
}
|
||||
.ua-notice-host.is-top-left,
|
||||
.ua-notice-host.is-bottom-left {
|
||||
left: var(--ua-space-4);
|
||||
right: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user