mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°4628 - Upgrade bulma lib to v0.9.4 to avoid hack from N°4481
This commit is contained in:
@@ -43,23 +43,3 @@
|
||||
.ibo-svg-illustration--container > svg *[fill="#6c63ff"]{
|
||||
fill: $ibo-svg-illustration--fill;
|
||||
}
|
||||
|
||||
// N°4481 - Restore HTML tables style identical between edition and visualization
|
||||
// This is a hack to compensate missing variables in the bulma lib, PR has been made here: https://github.com/jgthms/bulma/pull/3455
|
||||
// The following can't be reset to it's original value (from the browser stylesheet), so we have to hardcode it even though it might change in future browser versions...
|
||||
.ibo-is-html-content table {
|
||||
&:not(:last-child) {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
tbody {
|
||||
tr {
|
||||
&:last-child {
|
||||
td,
|
||||
th {
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,8 +17,11 @@ $body-overflow-y: auto !default;
|
||||
* customize Bulma content variables
|
||||
* See https://bulma.io/documentation/elements/content/
|
||||
*/
|
||||
$content-block-margin-bottom: 0 !default;
|
||||
|
||||
/* Table: Reset style as much as possible to match rich text editor preview, which is the browser's default stylesheet.
|
||||
* As there is no way to avoid bulma rules, we simply make them invalid by setting an invalid variable value, the rules will then be ignored by the browser.
|
||||
* "!default" has been omitted on purpose as we want to overload the variables no matter what.
|
||||
* See N°4481 for more information
|
||||
*/
|
||||
$content-table-cell-border: 'invalid on purpose';
|
||||
@@ -27,5 +30,6 @@ $content-table-cell-padding: 'invalid on purpose';
|
||||
$content-table-cell-heading-color: 'invalid on purpose';
|
||||
$content-table-head-cell-border-width: 'invalid on purpose';
|
||||
$content-table-head-cell-color: 'invalid on purpose';
|
||||
$content-table-body-last-row-cell-border-bottom-width: 1px !default;
|
||||
$content-table-foot-cell-border-width: 'invalid on purpose';
|
||||
$content-table-foot-cell-color: 'invalid on purpose';
|
||||
Reference in New Issue
Block a user