Header minor fixes
This commit is contained in:
parent
8f019cc667
commit
59c2283b39
|
@ -135,6 +135,10 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
@include font-size(1.7rem);
|
@include font-size(1.7rem);
|
||||||
|
|
||||||
|
@include media-breakpoint-down(lg) {
|
||||||
|
margin-right: 5rem;
|
||||||
|
}
|
||||||
|
|
||||||
@include media-breakpoint-down(md) {
|
@include media-breakpoint-down(md) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -300,7 +304,7 @@
|
||||||
@include font-size(1.4rem);
|
@include font-size(1.4rem);
|
||||||
|
|
||||||
left: 0;
|
left: 0;
|
||||||
margin: 0.2em;
|
margin: 0.2em 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@ -329,7 +333,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 2rem;
|
right: 4rem;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -403,12 +407,10 @@
|
||||||
|
|
||||||
.userControlItem {
|
.userControlItem {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: 2px solid #f6f6f6;
|
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 2.4em;
|
height: 2.4em;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-left: divide($container-padding-x, 4);
|
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: margin-left 0.3s;
|
transition: margin-left 0.3s;
|
||||||
width: 2.4em;
|
width: 2.4em;
|
||||||
|
@ -419,8 +421,6 @@
|
||||||
|
|
||||||
.headerScrolledTop &,
|
.headerScrolledTop &,
|
||||||
.headerScrolledBottom & {
|
.headerScrolledBottom & {
|
||||||
border-color: transparent;
|
|
||||||
margin-left: 0;
|
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ export const ProfilePopup = (props: ProfilePopupProps) => {
|
||||||
<Popup {...props} horizontalAnchor="right">
|
<Popup {...props} horizontalAnchor="right">
|
||||||
<ul class="nodash">
|
<ul class="nodash">
|
||||||
<li>
|
<li>
|
||||||
<a href={`/${session().user?.slug}`}>Профиль</a>
|
<a href={`/author/${session().user?.slug}`}>Профиль</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#">Черновики</a>
|
<a href="#">Черновики</a>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user