mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
Fix mobile display issue
Closes #42 - Realign name input and show name label on smaller screens
This commit is contained in:
parent
60eadfa70a
commit
09713d841e
@ -35,9 +35,12 @@
|
||||
display: inline-block;
|
||||
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;
|
||||
padding: 0 10px;
|
||||
}
|
||||
@ -187,14 +190,24 @@
|
||||
fieldset {
|
||||
padding: 0 40px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-width: 240px;
|
||||
}
|
||||
}
|
||||
|
||||
fieldset.user-details-top {
|
||||
margin-bottom: 0;
|
||||
padding: 10px 0 0 0;
|
||||
|
||||
p {
|
||||
color: #fff;
|
||||
@media (max-width: 500px) {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
@media (min-width: 501px) {
|
||||
margin-bottom: 0;
|
||||
padding: 10px 0 0 0;
|
||||
p {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -213,6 +226,10 @@
|
||||
background: #fff;
|
||||
z-index: 2;
|
||||
|
||||
@media (max-width: 500px) {
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
.img {
|
||||
display: block;
|
||||
width: 110px;
|
||||
@ -241,8 +258,10 @@
|
||||
@include transition(opacity 0.3s ease);
|
||||
}
|
||||
|
||||
#user-name {
|
||||
border-color: #fff;
|
||||
@media (min-width: 501px) {
|
||||
#user-name {
|
||||
border-color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.user-details-bottom {
|
||||
|
2
ghost/admin/docs/dist/css/ghost-ui.min.css
vendored
2
ghost/admin/docs/dist/css/ghost-ui.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user