mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
N°1094 & N°1107 Portal: Mosaic mode in BrowseBrick displays icon nicely in IE9. Also, "name" on tiles doesn't break layout anymore when too long.
SVN:trunk[5046]
This commit is contained in:
@@ -694,6 +694,11 @@ table .group-actions {
|
||||
.mosaic-item-image > img {
|
||||
max-width: 85%;
|
||||
}
|
||||
.mosaic-item-text {
|
||||
max-width: 1px;
|
||||
/* This is an arbitrary value. It is just here to make .mosaic-item-name wrap when there is a very long word in it. */
|
||||
overflow: hidden;
|
||||
}
|
||||
.mosaic-group-item > .mosaic-group-item-actions {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
@@ -793,7 +798,8 @@ table .group-actions {
|
||||
padding-right: 18px;
|
||||
}
|
||||
.mosaic-item-layout-5 .mosaic-item-image > img, .mosaic-item-layout-7 .mosaic-item-image > img {
|
||||
max-width: 100%;
|
||||
max-width: 105px;
|
||||
/* Equals parent element width */
|
||||
}
|
||||
.mosaic-item-layout-5 .mosaic-item-name, .mosaic-item-layout-7 .mosaic-item-name {
|
||||
font-size: 12px;
|
||||
|
||||
@@ -751,6 +751,10 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
|
||||
.mosaic-item-image > img{
|
||||
max-width: 85%;
|
||||
}
|
||||
.mosaic-item-text{
|
||||
max-width: 1px; /* This is an arbitrary value. It is just here to make .mosaic-item-name wrap when there is a very long word in it. */
|
||||
overflow: hidden;
|
||||
}
|
||||
.mosaic-group-item > .mosaic-group-item-actions{
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
@@ -858,7 +862,7 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
|
||||
}
|
||||
.mosaic-item-layout-5 .mosaic-item-image > img,
|
||||
.mosaic-item-layout-7 .mosaic-item-image > img{
|
||||
max-width: 100%;
|
||||
max-width: 105px; /* Equals parent element width */
|
||||
}
|
||||
.mosaic-item-layout-5 .mosaic-item-name,
|
||||
.mosaic-item-layout-7 .mosaic-item-name{
|
||||
|
||||
Reference in New Issue
Block a user