Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
c0a6446f
Commit
c0a6446f
authored
Apr 11, 2022
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Apr 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Decouple UserMenu and SortMenu styling from TopBar
Remove unused `TopBar` SASS module.
parent
4c1d53b9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
13 deletions
+4
-13
SortMenu.js
src/sidebar/components/SortMenu.js
+2
-2
UserMenu.js
src/sidebar/components/UserMenu.js
+2
-2
TopBar.scss
src/styles/sidebar/components/TopBar.scss
+0
-8
_index.scss
src/styles/sidebar/components/_index.scss
+0
-1
No files found.
src/sidebar/components/SortMenu.js
View file @
c0a6446f
...
@@ -28,8 +28,8 @@ export default function SortMenu() {
...
@@ -28,8 +28,8 @@ export default function SortMenu() {
});
});
const
menuLabel
=
(
const
menuLabel
=
(
<
span
className
=
"
TopBar__menu-label
"
>
<
span
className
=
"
p-1
"
>
<
Icon
name
=
"sort"
classes
=
"TopBar__menu-icon"
/>
<
Icon
name
=
"sort"
/>
<
/span
>
<
/span
>
);
);
...
...
src/sidebar/components/UserMenu.js
View file @
c0a6446f
...
@@ -87,8 +87,8 @@ function UserMenu({ auth, frameSync, onLogout, settings }) {
...
@@ -87,8 +87,8 @@ function UserMenu({ auth, frameSync, onLogout, settings }) {
})();
})();
const
menuLabel
=
(
const
menuLabel
=
(
<
span
className
=
"
TopBar__menu-label
"
>
<
span
className
=
"
p-1
"
>
<
Icon
name
=
"profile"
classes
=
"TopBar__menu-icon"
/>
<
Icon
name
=
"profile"
/>
<
/span
>
<
/span
>
);
);
return
(
return
(
...
...
src/styles/sidebar/components/TopBar.scss
deleted
100644 → 0
View file @
4c1d53b9
@use
'../../variables'
as
var
;
.TopBar
{
// FIXME This is used by SortMenu and UserMenu.
&
__menu-label
{
padding
:
var
.
$layout-space--xxsmall
;
}
}
src/styles/sidebar/components/_index.scss
View file @
c0a6446f
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
@use
'./ThreadCard'
;
@use
'./ThreadCard'
;
@use
'./ThreadList'
;
@use
'./ThreadList'
;
@use
'./ToastMessages'
;
@use
'./ToastMessages'
;
@use
'./TopBar'
;
@use
'./VersionInfo'
;
@use
'./VersionInfo'
;
// TODO: Put these in @layer components after shared component styles have
// TODO: Put these in @layer components after shared component styles have
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment