MOBILE-3320 formattext: Add customization css options

main
Pau Ferrer Ocaña 2021-06-03 15:27:38 +02:00
parent 7a4cd09f73
commit b486b694ee
2 changed files with 18 additions and 0 deletions

View File

@ -95,6 +95,23 @@ core-format-text {
} }
} }
@if ($core-format-text-never-shorten) {
&[maxHeight],
&[ng-reflect-max-height] {
&.core-text-formatted.core-shortened {
max-height: none !important;
.core-show-more {
display: none !important;
}
&:before {
display: none !important;
}
}
}
}
.core-adapted-img-container { .core-adapted-img-container {
position: relative; position: relative;
display: inline-block; display: inline-block;

View File

@ -368,6 +368,7 @@ $core-more-hide-siteurl: false !default;
$core-fixed-url: false !default; $core-fixed-url: false !default;
$core-dashboard-logo: false !default; $core-dashboard-logo: false !default;
$core-always-show-main-menu: false !default; $core-always-show-main-menu: false !default;
$core-format-text-never-shorten: false !default;
$core-show-courseimage-on-course: false !default; $core-show-courseimage-on-course: false !default;
$core-hide-progress-on-course: false !default; $core-hide-progress-on-course: false !default;