Fixed profile left column
This commit is contained in:
parent
fc3f944a22
commit
f73456cea5
|
@ -1,8 +1,7 @@
|
||||||
.navigationHeader {
|
.navigationHeader {
|
||||||
@include font-size(1.8rem);
|
@include font-size(1.8rem);
|
||||||
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-top: 1.1em !important;
|
margin-top: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation {
|
.navigation {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.ratingContainer {
|
.ratingContainer {
|
||||||
@include font-size(1.5rem);
|
@include font-size(1.5rem);
|
||||||
|
|
||||||
display: inline-block;
|
display: inline-flex;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ export const FeedView = () => {
|
||||||
<>
|
<>
|
||||||
<div class="wide-container feed">
|
<div class="wide-container feed">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class={clsx('left-col col-md-5 col-xl-4', styles.feedNavigation)}>
|
<div class={clsx('col-md-5 col-xl-4', styles.feedNavigation)}>
|
||||||
<FeedSidebar authors={sortedAuthors()} />
|
<FeedSidebar authors={sortedAuthors()} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -114,6 +114,10 @@ h5 {
|
||||||
|
|
||||||
.leftNavigation {
|
.leftNavigation {
|
||||||
top: 9rem !important;
|
top: 9rem !important;
|
||||||
|
|
||||||
|
h4:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.passwordToggleControl {
|
.passwordToggleControl {
|
||||||
|
|
|
@ -8,13 +8,14 @@ export const ProfileSecurityPage = () => {
|
||||||
return (
|
return (
|
||||||
<PageLayout>
|
<PageLayout>
|
||||||
<div class="wide-container">
|
<div class="wide-container">
|
||||||
<div class="offset-md-5">
|
<div class="row">
|
||||||
<div class="left-col">
|
<div class="col-md-5">
|
||||||
<div class={clsx('left-navigation', styles.leftNavigation)}>
|
<div class={clsx('left-navigation', styles.leftNavigation)}>
|
||||||
<ProfileSettingsNavigation />
|
<ProfileSettingsNavigation />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-19">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-20 col-lg-18 col-xl-16">
|
<div class="col-md-20 col-lg-18 col-xl-16">
|
||||||
<h1>Вход и безопасность</h1>
|
<h1>Вход и безопасность</h1>
|
||||||
|
@ -126,6 +127,7 @@ export const ProfileSecurityPage = () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</PageLayout>
|
</PageLayout>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,12 +84,13 @@ export const ProfileSettingsPage = () => {
|
||||||
<PageLayout>
|
<PageLayout>
|
||||||
<Show when={form}>
|
<Show when={form}>
|
||||||
<div class="wide-container">
|
<div class="wide-container">
|
||||||
<div class="offset-md-5">
|
<div class="row">
|
||||||
<div class="left-col">
|
<div class="col-md-5">
|
||||||
<div class={clsx('left-navigation', styles.leftNavigation)}>
|
<div class={clsx('left-navigation', styles.leftNavigation)}>
|
||||||
<ProfileSettingsNavigation />
|
<ProfileSettingsNavigation />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-19">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-20 col-lg-18 col-xl-16">
|
<div class="col-md-20 col-lg-18 col-xl-16">
|
||||||
<h1>{t('Profile settings')}</h1>
|
<h1>{t('Profile settings')}</h1>
|
||||||
|
@ -227,6 +228,7 @@ export const ProfileSettingsPage = () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</Show>
|
</Show>
|
||||||
</PageLayout>
|
</PageLayout>
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,13 +9,14 @@ export const ProfileSubscriptionsPage = () => {
|
||||||
return (
|
return (
|
||||||
<PageLayout>
|
<PageLayout>
|
||||||
<div class="wide-container">
|
<div class="wide-container">
|
||||||
<div class="offset-md-5">
|
<div class="row">
|
||||||
<div class="left-col">
|
<div class="col-md-5">
|
||||||
<div class={clsx('left-navigation', styles.leftNavigation)}>
|
<div class={clsx('left-navigation', styles.leftNavigation)}>
|
||||||
<ProfileSettingsNavigation />
|
<ProfileSettingsNavigation />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-19">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-20 col-lg-18 col-xl-16">
|
<div class="col-md-20 col-lg-18 col-xl-16">
|
||||||
<h1>Подписки</h1>
|
<h1>Подписки</h1>
|
||||||
|
@ -128,6 +129,7 @@ export const ProfileSubscriptionsPage = () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</PageLayout>
|
</PageLayout>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -691,22 +691,6 @@ figcaption {
|
||||||
margin-left: 235px;
|
margin-left: 235px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-col {
|
|
||||||
height: 100%;
|
|
||||||
padding-right: 2rem;
|
|
||||||
right: 100%;
|
|
||||||
top: 0;
|
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
|
||||||
position: absolute;
|
|
||||||
width: 161px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-breakpoint-up(lg) {
|
|
||||||
width: 235px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.left-navigation {
|
.left-navigation {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user