mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
💄 iTop 3.0.0 badge dashlet : make whole badge clickable (#191)
Would be better to have only one handler on the dashboard side but we want to respect code responsibility ! So until we have a system for components to print "static" code (that will be printed only once whatever number of component instances we have in the page), we are doing it the "old" way : calling a JQuery widget in the component JS Twig.
This commit is contained in:
@@ -22,14 +22,14 @@ $ibo-dashlet-badge--action-icon--margin-right: 6px !default;
|
||||
|
||||
/* Rules */
|
||||
.ibo-dashlet-badge{
|
||||
//min-width: $ibo-dashlet-badge--min-width;
|
||||
flex-basis: $ibo-dashlet-badge--min-width;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
padding: $ibo-dashlet-badge--padding-y $ibo-dashlet-badge--padding-x;
|
||||
background-color: $ibo-dashlet-badge--background-color;
|
||||
border: $ibo-dashlet-badge--border;
|
||||
border-radius: $ibo-dashlet-badge--border-radius;
|
||||
//min-width: $ibo-dashlet-badge--min-width;
|
||||
flex-basis: $ibo-dashlet-badge--min-width;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
padding: $ibo-dashlet-badge--padding-y $ibo-dashlet-badge--padding-x;
|
||||
background-color: $ibo-dashlet-badge--background-color;
|
||||
border: $ibo-dashlet-badge--border;
|
||||
border-radius: $ibo-dashlet-badge--border-radius;
|
||||
}
|
||||
.ibo-dashlet-badge--body{
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user