Skip to content

Commit

Permalink
Fixed admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTv12345 committed Sep 13, 2024
1 parent 178fe7c commit 08f1991
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion admin/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ export const App = () => {
<Crown width={40} height={40}/>
<h1>Etherpad</h1>
</span>
<ul>
<ul onClick={()=>{
setSidebarOpen(false)
}}>
<li><NavLink to="/plugins"><Cable/><Trans i18nKey="admin_plugins"/></NavLink></li>
<li><NavLink to={"/settings"}><Wrench/><Trans i18nKey="admin_settings"/></NavLink></li>
<li><NavLink to={"/help"}> <Construction/> <Trans i18nKey="admin_plugins_info"/></NavLink></li>
Expand Down
5 changes: 2 additions & 3 deletions admin/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ div.innerwrapper {
height: 100vh;
flex-grow: 100;
margin-left: var(--sidebar-width);
padding: 20px;
padding: 20px 20px 20px;
}

div.innerwrapper-err {
Expand Down Expand Up @@ -346,7 +346,6 @@ pre {
@media (max-width: 800px) {

div.innerwrapper {
padding: 0 15px 15px 15px;
margin-left: 0;
}

Expand All @@ -357,7 +356,7 @@ pre {
div.menu {
height: auto;
border-right: none;
width: 100%;
--sidebar-width: 100%;
float: left;
}

Expand Down

0 comments on commit 08f1991

Please sign in to comment.