TF-884 Set default value for hideScrollBar
This commit is contained in:
@@ -26,7 +26,7 @@ String generateHtml(String content, {
|
|||||||
double? minWidth,
|
double? minWidth,
|
||||||
String? styleCSS,
|
String? styleCSS,
|
||||||
String? javaScripts,
|
String? javaScripts,
|
||||||
bool? hideScrollBar
|
bool hideScrollBar = true,
|
||||||
}) {
|
}) {
|
||||||
return '''
|
return '''
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
@@ -40,7 +40,7 @@ String generateHtml(String content, {
|
|||||||
min-width: ${minWidth ?? 0}px;
|
min-width: ${minWidth ?? 0}px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
${hideScrollBar == true ? '''
|
${hideScrollBar ? '''
|
||||||
.tmail-content::-webkit-scrollbar {
|
.tmail-content::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user