Skip to content

Commit

Permalink
Fix related widget links icons size and vertical alignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Dec 27, 2023
1 parent 94f02a3 commit ff03809
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion admin_interface/static/admin_interface/css/widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,27 @@
/* fixed related widget and select2 */
/* begin fix issue #10 - Related widget broken in long tabular inline */
.admin-interface .related-widget-wrapper {
flex-wrap: nowrap;
white-space: nowrap;
}
/* end fix */

.admin-interface .related-widget-wrapper select + .related-widget-wrapper-link,
/* fix related widget links icons size and vertical alignment */
.admin-interface .related-widget-wrapper select + .related-widget-wrapper-link {
margin-left: 2px !important;
}

.admin-interface .related-widget-wrapper .related-widget-wrapper-link {
display: flex;
align-items: center;
margin-bottom: 4px;
}
.admin-interface .related-widget-wrapper .related-widget-wrapper-link img {
width: 16px;
height: 16px;
}
/* end fix */

.admin-interface .related-widget-wrapper .select2-container + .related-widget-wrapper-link {
margin-left: 12px !important;
}
Expand Down

0 comments on commit ff03809

Please sign in to comment.