UI improvements.

This commit is contained in:
Daniel
2022-06-22 11:25:23 +04:30
parent 3699214b4b
commit 662d2deaf2
5 changed files with 23 additions and 15 deletions
+3 -3
View File
@@ -36,8 +36,8 @@ const AddItem = ({ onExit, reFetch, tags, SetLoader, lightMode }) => {
<>
<div className="add-overlay" onClick={abort}></div>
<div className="send-box">
<fieldset className="box">
<legend>New bookmark</legend>
<div className="box">
<h2>New bookmark</h2>
<div className="AddItem-content">
<h3>
<span style={{ color: "red" }}>* </span>Link:
@@ -65,7 +65,7 @@ const AddItem = ({ onExit, reFetch, tags, SetLoader, lightMode }) => {
Add &#xf067;
</button>
</div>
</fieldset>
</div>
</div>
</>
);
+3 -3
View File
@@ -49,8 +49,8 @@ const EditItem = ({ tags, item, onExit, SetLoader, reFetch, lightMode }) => {
<>
<div className="add-overlay" onClick={abort}></div>
<div className="send-box">
<fieldset className="box">
<legend>Edit bookmark</legend>
<div className="box">
<h2>Edit bookmark</h2>
<button className="delete" onClick={deleteItem}>
&#xf2ed;
</button>
@@ -93,7 +93,7 @@ const EditItem = ({ tags, item, onExit, SetLoader, reFetch, lightMode }) => {
Update &#xf303;
</button>
</div>
</fieldset>
</div>
</div>
</>
);
+5 -5
View File
@@ -32,12 +32,12 @@ const Filters = ({
<>
<div className="filter-overlay" onClick={abort}></div>
<div className="filter-box">
<fieldset className="filter">
<legend>Filter search</legend>
<div className="filter">
<h2>Filter search</h2>
<div className="filter-groups">
<div className="section">
<h4>Sort by</h4>
<h3>Sort by</h3>
<label>
<input
name="sort"
@@ -101,7 +101,7 @@ const Filters = ({
</div>
<div className="section">
<h4>Include/Exclude</h4>
<h3>Include/Exclude</h3>
<label>
<input
type="checkbox"
@@ -132,7 +132,7 @@ const Filters = ({
<button className="apply-btn" onClick={applyChanges}>
Apply
</button>
</fieldset>
</div>
</div>
</>
);