mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 06:03:34 +01:00
Fixed admin panel
This commit is contained in:
parent
178fe7c24d
commit
08f199178d
2 changed files with 5 additions and 4 deletions
|
@ -94,7 +94,9 @@ export const App = () => {
|
||||||
<Crown width={40} height={40}/>
|
<Crown width={40} height={40}/>
|
||||||
<h1>Etherpad</h1>
|
<h1>Etherpad</h1>
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul onClick={()=>{
|
||||||
|
setSidebarOpen(false)
|
||||||
|
}}>
|
||||||
<li><NavLink to="/plugins"><Cable/><Trans i18nKey="admin_plugins"/></NavLink></li>
|
<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={"/settings"}><Wrench/><Trans i18nKey="admin_settings"/></NavLink></li>
|
||||||
<li><NavLink to={"/help"}> <Construction/> <Trans i18nKey="admin_plugins_info"/></NavLink></li>
|
<li><NavLink to={"/help"}> <Construction/> <Trans i18nKey="admin_plugins_info"/></NavLink></li>
|
||||||
|
|
|
@ -129,7 +129,7 @@ div.innerwrapper {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
flex-grow: 100;
|
flex-grow: 100;
|
||||||
margin-left: var(--sidebar-width);
|
margin-left: var(--sidebar-width);
|
||||||
padding: 20px;
|
padding: 20px 20px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.innerwrapper-err {
|
div.innerwrapper-err {
|
||||||
|
@ -346,7 +346,6 @@ pre {
|
||||||
@media (max-width: 800px) {
|
@media (max-width: 800px) {
|
||||||
|
|
||||||
div.innerwrapper {
|
div.innerwrapper {
|
||||||
padding: 0 15px 15px 15px;
|
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -357,7 +356,7 @@ pre {
|
||||||
div.menu {
|
div.menu {
|
||||||
height: auto;
|
height: auto;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
width: 100%;
|
--sidebar-width: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue