mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Fix mobile display issue
Closes #42 - Realign name input and show name label on smaller screens
This commit is contained in:
parent
5ee59b6957
commit
b3a11e9cb9
2 changed files with 28 additions and 9 deletions
|
@ -35,9 +35,12 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
float: right;
|
float: right;
|
||||||
|
|
||||||
label { margin: 0}
|
label {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover .user-search-input, .user-search-input:focus {
|
&:hover .user-search-input,
|
||||||
|
.user-search-input:focus {
|
||||||
width: 260px;
|
width: 260px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
|
@ -187,14 +190,24 @@
|
||||||
fieldset {
|
fieldset {
|
||||||
padding: 0 40px;
|
padding: 0 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
min-width: 240px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset.user-details-top {
|
fieldset.user-details-top {
|
||||||
margin-bottom: 0;
|
|
||||||
padding: 10px 0 0 0;
|
|
||||||
|
|
||||||
p {
|
@media (max-width: 500px) {
|
||||||
color: #fff;
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 501px) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
padding: 10px 0 0 0;
|
||||||
|
p {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -213,6 +226,10 @@
|
||||||
background: #fff;
|
background: #fff;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
margin-left: -10px;
|
||||||
|
}
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
display: block;
|
display: block;
|
||||||
width: 110px;
|
width: 110px;
|
||||||
|
@ -241,8 +258,10 @@
|
||||||
@include transition(opacity 0.3s ease);
|
@include transition(opacity 0.3s ease);
|
||||||
}
|
}
|
||||||
|
|
||||||
#user-name {
|
@media (min-width: 501px) {
|
||||||
border-color: #fff;
|
#user-name {
|
||||||
|
border-color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-details-bottom {
|
.user-details-bottom {
|
||||||
|
|
2
core/client/docs/dist/css/ghost-ui.min.css
vendored
2
core/client/docs/dist/css/ghost-ui.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue