mirror of https://github.com/ColorlibHQ/AdminLTE
Fixed sidebar-mini image issue
parent
75596d1189
commit
5a2dd478fb
|
@ -29,12 +29,7 @@
|
|||
.user-panel {
|
||||
> .info {
|
||||
display: none;
|
||||
}
|
||||
//Make the image fit
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -48,9 +48,9 @@
|
|||
padding: 10px;
|
||||
.clearfix();
|
||||
> .image > img {
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
max-width: 100%!important;
|
||||
width: 100%;
|
||||
max-width: 45px;
|
||||
height: auto;
|
||||
}
|
||||
> .info {
|
||||
font-weight: 600;
|
||||
|
|
|
@ -453,9 +453,9 @@ a:focus {
|
|||
clear: both;
|
||||
}
|
||||
.user-panel > .image > img {
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
max-width: 100%!important;
|
||||
width: 100%;
|
||||
max-width: 45px;
|
||||
height: auto;
|
||||
}
|
||||
.user-panel > .info {
|
||||
font-weight: 600;
|
||||
|
@ -573,10 +573,6 @@ a:focus {
|
|||
.sidebar-mini.sidebar-collapse .main-sidebar .user-panel > .info {
|
||||
display: none;
|
||||
}
|
||||
.sidebar-mini.sidebar-collapse .main-sidebar .user-panel img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.sidebar-mini.sidebar-collapse .sidebar-menu > li {
|
||||
position: relative;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue