Skip to content

Commit

Permalink
adapting the NOTE to the same style as in the periodicity widget
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresOrtegaGuerrero committed Nov 28, 2024
1 parent b20a05e commit 06b3e84
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/aiidalab_qe/common/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,12 @@ def __init__(self, title="", **kwargs):
These are used to distinguish atoms of the same chemical element. <br>
For example, they can be used to assign different initial magnetization values for antiferromagnetic systems.
</p>
<p style="font-weight: bold; color: #1f77b4;">
Note: Atom indices are 1-based (first atom has index 1, second atom has index 2, ...).
<p style="font-weight: bold; color: #1f77b4;">NOTE:</p>
<ul style="padding-left: 2em; list-style-type: disc;">
<li>Atom indices start from 1, not 0. This means that the first atom in the list is numbered 1, the second atom is numbered 2, and so on.</li>
</ul>
Note:
</p>
"""
),
Expand Down

0 comments on commit 06b3e84

Please sign in to comment.