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

fixes #120 Top menu - Adjust Spacing #182

Merged
merged 1 commit into from
Feb 1, 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
2 changes: 1 addition & 1 deletion src/components/DropdownAvatar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class DropdownAvatar extends React.Component {
alt=""
className="img-avatar rounded-circle object-fit-cover h-45"
/>
<div className="text ps-3 pe-3">
<div className="text ps-16 pe-2">
<p className="mb-0 text-blue-0 fs-14 fw-bold">
{Storage.getItem(AUTHORIZATION_KEY.MEMBER_FULL_NAME) ?? 'Admin'}
</p>
Expand Down
8 changes: 4 additions & 4 deletions src/components/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Header extends React.Component {
/>
</a>
</div>
<div className="content_header h-80 border-start-1 border-gray-300 flex-1 d-flex align-items-center ps-2 ps-lg-4 position-relative w-50 w-lg-100">
<div className="content_header h-80 border-start-1 border-gray-300 flex-1 d-flex align-items-center px-32 py-16 position-relative w-50 w-lg-100">
<span
className="
item_collap
Expand Down Expand Up @@ -108,18 +108,18 @@ class Header extends React.Component {
defaultValue={currentLanguage}
/>
</div>
<div className="switch-theme-button col-auto py-2 px-3">
<div className="switch-theme-button col-auto py-2 ps-8px">
<SwitchThemes />
</div>
<div className="d-flex align-items-center">
<div className="wr_help_center ps-3 pe-3 d-none">
<div className="wr_help_center ps-24 pe-3 d-none">
<span className="item_help d-flex align-items-center text-blue-0 cursor-pointer">
<FontAwesomeIcon icon={faQuestionCircle} />
<span className="text white-spacing-nowrap ps-2">{t('txt_help_center')}</span>
</span>
</div>

<div className="ps-3 pe-3">
<div className="ps-24">
<DropdownAvatar />
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/scss/utils/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ $spacers: (
2: 20px,
24: 24px,
3: 30px,
32: 32px,
4: 40px,
5: 50px,
6: 60px,
Expand Down