Remove double icon
This commit is contained in:
@@ -21,7 +21,7 @@ function TabToggle({ item, className = '', active, onChange, onClick }) {
|
|||||||
value={item.name}
|
value={item.name}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
className="visually-hidden"
|
className="sr-only"
|
||||||
/>
|
/>
|
||||||
<Svg name={item.icon} className="w-8 mx-auto" />
|
<Svg name={item.icon} className="w-8 mx-auto" />
|
||||||
</label>
|
</label>
|
||||||
|
|||||||
@@ -70,12 +70,6 @@ const ProjectProfile = ({
|
|||||||
<>
|
<>
|
||||||
<div className="h-screen flex flex-col text-lg font-fira-sans">
|
<div className="h-screen flex flex-col text-lg font-fira-sans">
|
||||||
<div className="flex">
|
<div className="flex">
|
||||||
<Link
|
|
||||||
to={routes.home()}
|
|
||||||
className="w-16 h-16 flex items-center justify-center bg-ch-gray-900"
|
|
||||||
>
|
|
||||||
<Svg className="w-12" name="favicon" />
|
|
||||||
</Link>
|
|
||||||
<IdeHeader
|
<IdeHeader
|
||||||
handleRender={() => {}}
|
handleRender={() => {}}
|
||||||
projectTitle={project?.title}
|
projectTitle={project?.title}
|
||||||
|
|||||||
@@ -53,12 +53,6 @@ const UserProfile = ({
|
|||||||
<>
|
<>
|
||||||
<div className="md:h-screen flex flex-col text-lg font-fira-sans">
|
<div className="md:h-screen flex flex-col text-lg font-fira-sans">
|
||||||
<div className="flex">
|
<div className="flex">
|
||||||
<Link
|
|
||||||
to={routes.home()}
|
|
||||||
className="w-16 h-16 flex items-center justify-center bg-ch-gray-900"
|
|
||||||
>
|
|
||||||
<Svg className="w-12" name="favicon" />
|
|
||||||
</Link>
|
|
||||||
<IdeHeader
|
<IdeHeader
|
||||||
handleRender={() => {}}
|
handleRender={() => {}}
|
||||||
projectOwner={user?.userName}
|
projectOwner={user?.userName}
|
||||||
|
|||||||
@@ -151,7 +151,6 @@ export const initialState: State = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const reducer = (state: State, { type, payload }): State => {
|
const reducer = (state: State, { type, payload }): State => {
|
||||||
console.log('reducing')
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'initIde':
|
case 'initIde':
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -30,16 +30,6 @@
|
|||||||
@apply bg-ch-pink-800 bg-opacity-30 hover:bg-opacity-60;
|
@apply bg-ch-pink-800 bg-opacity-30 hover:bg-opacity-60;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/ */
|
|
||||||
.visually-hidden {
|
|
||||||
clip: rect(0 0 0 0);
|
|
||||||
clip-path: inset(50%);
|
|
||||||
height: 1px;
|
|
||||||
overflow: hidden;
|
|
||||||
position: absolute;
|
|
||||||
white-space: nowrap;
|
|
||||||
width: 1px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@layer components {
|
@layer components {
|
||||||
|
|||||||
Reference in New Issue
Block a user