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