mirror of
https://github.com/flarum/core.git
synced 2025-07-24 02:01:19 +02:00
fix: composer header overlap with controls
This commit is contained in:
committed by
Daniël Klabbers
parent
737e49a5ef
commit
9c5dd28e8a
@@ -41,18 +41,23 @@
|
|||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
color: var(--secondary-color);
|
color: var(--secondary-color);
|
||||||
|
|
||||||
&, input, a {
|
&,
|
||||||
|
input,
|
||||||
|
a {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
input, a {
|
input,
|
||||||
|
a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
width: 500px;
|
width: 500px;
|
||||||
|
|
||||||
&, &[disabled], &:focus {
|
&,
|
||||||
|
&[disabled],
|
||||||
|
&:focus {
|
||||||
background: none;
|
background: none;
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0 20px 0 0;
|
padding: 0 20px 0 0;
|
||||||
@@ -230,7 +235,8 @@
|
|||||||
height: 300px;
|
height: 300px;
|
||||||
transition: background 0.2s, box-shadow 0.2s;
|
transition: background 0.2s, box-shadow 0.2s;
|
||||||
|
|
||||||
&.active, &.fullScreen {
|
&.active,
|
||||||
|
&.fullScreen {
|
||||||
background: var(--body-bg);
|
background: var(--body-bg);
|
||||||
}
|
}
|
||||||
&.active:not(.fullScreen) {
|
&.active:not(.fullScreen) {
|
||||||
@@ -258,6 +264,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ComposerBody-header {
|
.ComposerBody-header {
|
||||||
|
margin-right: 120px;
|
||||||
|
|
||||||
.fullScreen & {
|
.fullScreen & {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
@@ -279,7 +287,8 @@
|
|||||||
margin-bottom: -17px;
|
margin-bottom: -17px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.minimized &, .fullScreen & {
|
.minimized &,
|
||||||
|
.fullScreen & {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -287,14 +296,16 @@
|
|||||||
float: left;
|
float: left;
|
||||||
.Avatar--size(64px);
|
.Avatar--size(64px);
|
||||||
|
|
||||||
.minimized &, .fullScreen & {
|
.minimized &,
|
||||||
|
.fullScreen & {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ComposerBody-content {
|
.ComposerBody-content {
|
||||||
margin-left: 85px;
|
margin-left: 85px;
|
||||||
|
|
||||||
.minimized &, .fullScreen & {
|
.minimized &,
|
||||||
|
.fullScreen & {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user