mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: new API to add panels to sidebar (#22534)
Define new concept of panels in sidebar. Panels are wrappers around sidebar sections. In the future, it allows creating full focus mode by switching between panels. A new API method called addSidebarPanel was added. Default main panel is already registered and by default all API sections are mounted to main.
This commit is contained in:
committed by
GitHub
parent
9ef2a2ac9b
commit
20ec7ac174
@@ -281,3 +281,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar__panel-switch-button {
|
||||
margin: 1em 1.3em 0 1.3em;
|
||||
&:last-of-type {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user