mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-25 16:12:37 +00:00
change to splitPane component
This commit is contained in:
@@ -12,6 +12,8 @@ const NewBrew = require('../../navbar/newbrew.navitem.jsx');
|
||||
const HelpNavItem = require('../../navbar/help.navitem.jsx');
|
||||
const BrewItem = require('../basePages/listPage/brewItem/brewItem.jsx');
|
||||
|
||||
const SplitPane = require('../../../../shared/naturalcrit/splitPane/splitPane.jsx');
|
||||
|
||||
const request = require('../../utils/request-middleware.js');
|
||||
|
||||
const VaultPage = (props) => {
|
||||
@@ -377,11 +379,13 @@ const VaultPage = (props) => {
|
||||
<link href="/themes/V3/5ePHB/style.css" rel="stylesheet" />
|
||||
{renderNavItems()}
|
||||
<div className="content">
|
||||
<SplitPane>
|
||||
<div className="form dataGroup">{renderForm()}</div>
|
||||
|
||||
<div className="resultsContainer dataGroup">
|
||||
{renderFoundBrews()}
|
||||
</div>
|
||||
</SplitPane>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -33,9 +33,7 @@ body {
|
||||
}
|
||||
|
||||
.content {
|
||||
display : grid;
|
||||
grid-template-columns : clamp(310px,25vw, 600px) 2fr;
|
||||
background : #2C3E50;
|
||||
background: #2C3E50;
|
||||
|
||||
.dataGroup {
|
||||
width : 100%;
|
||||
@@ -79,7 +77,6 @@ body {
|
||||
overflow-y : auto;
|
||||
font-family : 'BookInsanityRemake';
|
||||
font-size : 0.34cm;
|
||||
border-left : 2px solid;
|
||||
|
||||
|
||||
.foundBrews {
|
||||
@@ -248,17 +245,14 @@ body {
|
||||
// media query for when the page is smaller than 1079 px in width
|
||||
@media screen and (max-width: 1079px) {
|
||||
.vaultPage .content {
|
||||
grid-template-columns: none;
|
||||
grid-template-rows: 325px 1fr;
|
||||
|
||||
.brewLookup {
|
||||
padding-block:10px 20px;
|
||||
padding:0 20px 20px 10px;
|
||||
}
|
||||
|
||||
.dataGroup.resultsContainer .foundBrews .brewItem {
|
||||
width: 100%;
|
||||
color: black;
|
||||
background-image: url('/assets/parchmentBackground.jpg');
|
||||
width : 100%;
|
||||
margin-inline : auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user