mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-27 00:42:40 +00:00
Remove duplicate ErrorBar/popups tray
Removed duplicated components. Restyled the popups to accomodate extra height of viewer tools.
This commit is contained in:
@@ -247,12 +247,6 @@ const BrewRenderer = (props)=>{
|
||||
tabIndex={-1}
|
||||
style={{ height: state.height }}>
|
||||
|
||||
<ErrorBar errors={props.errors} />
|
||||
<div className='popups'>
|
||||
<RenderWarnings />
|
||||
<NotificationPopup />
|
||||
</div>
|
||||
|
||||
{/* Apply CSS from Style tab and render pages from Markdown tab */}
|
||||
{state.isMounted
|
||||
&&
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
.popups {
|
||||
position : fixed;
|
||||
top : @navbarHeight;
|
||||
top : calc(@navbarHeight + @viewerToolsHeight);
|
||||
right : 24px;
|
||||
z-index : 10001;
|
||||
width : 450px;
|
||||
padding-top : 5px;
|
||||
}
|
||||
|
||||
.notificationPopup {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
@import 'naturalcrit/styles/colors.less';
|
||||
|
||||
@navbarHeight : 28px;
|
||||
@viewerToolsHeight : 32px;
|
||||
|
||||
@keyframes pinkColoring {
|
||||
0% { color : pink; }
|
||||
|
||||
Reference in New Issue
Block a user