🌐 AI搜索 & 代理 主页
Skip to content

Commit 47cfb6e

Browse files
update notification modal style (#1544)
1 parent 58f82be commit 47cfb6e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

pgml-dashboard/src/components/notifications/product/product_banner/product_banner.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ div[data-controller="notifications-product-product-banner"] {
3939

4040
.close {
4141
color: #{$gray-100};
42+
font-size: 24px;
43+
44+
&:hover {
45+
color: #{$gray-200};
46+
}
4247
}
4348

4449
.more-info {

pgml-dashboard/src/components/notifications/product/product_banner/template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
%>
7777

7878
<%+ Modal::new(format!(r#"
79-
<div class="d-flex flex-column gap-4 align-items-center">
80-
<a class="btn btn-tertiary" data-action="click->notifications-product-product-banner#hideModal"><span class="material-symbols-outlined close position-absolute top-0 end-0 m-2">close</span></a>
79+
<div class="d-flex flex-column gap-4 align-items-center text-center">
80+
<a class="btn btn-tertiary position-absolute top-0 end-0" data-action="click->notifications-product-product-banner#hideModal"><span class="material-symbols-outlined close m-2">close</span></a>
8181
<span class="material-symbols-outlined {display} preset-icon" style="font-size: 44px">{icon}</span>
8282
{title}
8383
<p class="m-0" data-action="click->notifications-product-product-banner#followModalLink">{message}</p>

0 commit comments

Comments
 (0)