Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postfix #60

Merged
merged 4 commits into from
May 13, 2023
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
11 changes: 4 additions & 7 deletions components/notify/notify.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/notify/notify.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions components/notify/notify.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
content: " ✕";
}

&--fixed {
// &--fixed {
font-weight: 500;
position: fixed;
left: 0;
right: 0;
z-index: 2;
}
z-index: 3;
// }

&:focus:focus-visible {
outline-offset: -3px;
Expand Down
2 changes: 1 addition & 1 deletion dist/niui.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/niui.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/niui.min.css.size
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14339
14345
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3768,13 +3768,13 @@ <h2 class="section-title">Notification bar</h2>
</div>
<br>
<button class="n-btn" onclick="nui.notify('Notified.');">Notify me now</button>
<button class="n-btn" onclick="nui.notify('Fixed.', 'fixed');">Fixed notification bar</button>
<!-- <button class="n-btn" onclick="nui.notify('Fixed.', 'fixed');">Fixed notification bar</button> -->
<h3>Options</h3>
<ul class="n-list">
<li>Fixed on top:
<!-- <li>Fixed on top:
<pre>&lt;div class="n-notify n-notify--fixed"&gt;</pre> or
<pre>nui.notify("Message", "fixed");</pre>
</li>
</li> -->
<li>
<pre>nui.notify("Text", "timeout")</pre> to hide it automatically after 2 seconds
</li>
Expand Down
2 changes: 1 addition & 1 deletion niui-wp/niui-wp.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion niui-wp/niui-wp.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "niui-npm",
"version": "3.0.3",
"version": "3.0.4",
"description": "niui: mostly native front-end framework",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down