Fixed sidebar-mini image issue

This commit is contained in:
Abdullah Almsaeed 2015-04-03 12:19:55 -04:00
parent 75596d1189
commit 5a2dd478fb
4 changed files with 8 additions and 17 deletions

View file

@ -29,12 +29,7 @@
.user-panel {
> .info {
display: none;
}
//Make the image fit
img {
max-width: 100%;
height: auto;
}
}
}
}

View file

@ -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;

10
dist/css/AdminLTE.css vendored
View file

@ -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