fix: preferneces style

This commit is contained in:
elforjani3
2020-09-30 16:52:48 +02:00
parent 7b6e895be5
commit e8c84637b5
2 changed files with 14 additions and 10 deletions

View File

@@ -15,8 +15,10 @@ export default function Dashboard() {
<div className={classNames('dashboard')}> <div className={classNames('dashboard')}>
<Switch> <Switch>
<Route path="/preferences"> <Route path="/preferences">
<Sidebar /> <DashboardSplitPane>
<PreferencesSidebar /> <Sidebar />
<PreferencesSidebar />
</DashboardSplitPane>
<PreferencesContent /> <PreferencesContent />
</Route> </Route>
@@ -32,4 +34,4 @@ export default function Dashboard() {
<DialogsContainer /> <DialogsContainer />
</div> </div>
); );
} }

View File

@@ -1,6 +1,8 @@
.dashboard-content--preferences { .dashboard-content--preferences {
margin-left: 430px; // margin-left: 430px;
height: 700px; margin-left: 410px;
width: 100%;
// height: max-content;
position: relative; position: relative;
} }
@@ -58,7 +60,9 @@
.preferences__sidebar { .preferences__sidebar {
background: #fdfdfd; background: #fdfdfd;
position: fixed; position: fixed;
left: 220px; // left: 220px;
left: 200px;
top: 1px;
min-width: 210px; min-width: 210px;
max-width: 210px; max-width: 210px;
height: 100%; height: 100%;
@@ -104,10 +108,9 @@
// Preference // Preference
//--------------------------------- //---------------------------------
.preferences__inside-content--general { .preferences__inside-content--general {
.bp3-form-group { .bp3-form-group {
margin: 25px 20px 20px; margin: 25px 20px 20px;
.bp3-label { .bp3-label {
min-width: 180px; min-width: 180px;
} }
@@ -117,8 +120,7 @@
} }
.form-group--org-name, .form-group--org-name,
.form-group--org-industry{ .form-group--org-industry {
.bp3-form-content { .bp3-form-content {
position: relative; position: relative;
width: 70%; width: 70%;