Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@inherits WebSiteModuleComponentBase
@attribute [JSModuleAutoLoader("Components/ThemeMode.razor.js")]

<div id="@Id" class="btn btn-circle btn-fade btn-theme-mode icon-theme d-flex">
<div id="@Id" class="btn btn-circle btn-fade btn-theme-mode icon-theme d-flex" @onclick:stopPropagation>
<i class="@GetLightIconClassString"></i>
<i class="@GetDarkIconClassString"></i>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@Body
</section>

<DialButton DialMode="DialMode.Radial" Icon="fa-solid fa-gear" Radius="100" Placement="Placement.BottomEnd" IsAutoClose="false">
<DialButton DialMode="DialMode.Radial" Icon="fa-solid fa-gear" Radius="100" Placement="Placement.BottomEnd">
<ButtonTemplate>
<div class="btn-circle btn-fade dial-button-gear">
<img src="./images/logo.png" />
Expand Down
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Modals.razor
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@
</Modal>
</div>
<div class="col-12 col-sm-4 col-lg-auto">
<Button OnClick="() => ExtraLargeModal.Toggle()">@Localizer["ModalsOversizedPopup"]</Button>
<Button OnClick="() => ExtraLargeModal.Toggle()">@Localizer["ModalsOverSizedPopup"]</Button>
<Modal @ref="ExtraLargeModal">
<ModalDialog Size="Size.ExtraLarge" Title="@Localizer["ModalsOversizedPopup"]">
<ModalDialog Size="Size.ExtraLarge" Title="@Localizer["ModalsOverSizedPopup"]">
<BodyTemplate>
<div>@Localizer["ModalsTitlePopupWindowText"]</div>
</BodyTemplate>
Expand Down
2 changes: 1 addition & 1 deletion src/BootstrapBlazor.Server/Data/WebsiteOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class WebsiteOptions
/// <summary>
///
/// </summary>
public string WikiUrl { get; set; } = "https://gitee.com/LongbowEnterprise/BootstrapBlazor/wikis/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97?sort_id=4062034";
public string WikiUrl { get; set; } = "https://github.com/dotnetcore/BootstrapBlazor/releases?wt.mc_id=DT-MVP-5004174";

/// <summary>
/// 获得 QQ 1 群链接地址
Expand Down
2 changes: 1 addition & 1 deletion src/BootstrapBlazor.Server/Locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
"ModalsDialogResizeIntro": "Resize the modal box by setting the <code>ShowResize</code> property",
"ModalsSmallPopup": "small popup",
"ModalsBigPopup": "big popup",
"ModalsOversizedPopup": "Oversized pop-up window",
"ModalsOverSizedPopup": "OverSized pop-up window",
"ModalsSuperLargePopup": "super large pop-up window",
"ModalsFullScreenSizeTitle": "Full screen popup",
"ModalsFullScreenSizeIntro": "Just set the property <code>FullScreenSize</code>",
Expand Down
2 changes: 1 addition & 1 deletion src/BootstrapBlazor.Server/Locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
"ModalsDialogResizeIntro": "通过设置 <code>ShowResize=\"true\"</code> 可以通过鼠标拉动弹窗右下角进行窗口大小调整",
"ModalsSmallPopup": "小弹窗",
"ModalsBigPopup": "大弹窗",
"ModalsOversizedPopup": "超大弹窗",
"ModalsOverSizedPopup": "超大弹窗",
"ModalsSuperLargePopup": "超超大弹窗",
"ModalsFullScreenSizeTitle": "全屏弹窗",
"ModalsFullScreenSizeIntro": "设置属性 <code>FullScreenSize</code> 即可",
Expand Down
4 changes: 3 additions & 1 deletion src/BootstrapBlazor/Components/Modal/ModalDialog.razor
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@
}
@if (ShowResize)
{
<svg class="modal-resizer" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M319.20128 974.56128L348.16 1003.52l655.36-655.36-28.95872-28.95872-655.36 655.36zM675.84 1003.52l327.68-327.68-28.95872-28.95872-327.68 327.68L675.84 1003.52z"></path></svg>
<svg class="modal-resizer" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200">
<path d="M319.20128 974.56128L348.16 1003.52l655.36-655.36-28.95872-28.95872-655.36 655.36zM675.84 1003.52l327.68-327.68-28.95872-28.95872-327.68 327.68L675.84 1003.52z"></path>
</svg>
}
</CascadingValue>
</CascadingValue>
Expand Down
1 change: 0 additions & 1 deletion src/BootstrapBlazor/Components/Responsive/Responsive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public async Task OnResize(BreakPoint breakPoint)
if (OnBreakPointChanged != null && breakPoint != _breakPoint)
{
_breakPoint = breakPoint;

await OnBreakPointChanged(breakPoint);
}
}
Expand Down