diff --git a/lib/templates.dart b/lib/templates.dart index 010baed..4a16724 100644 --- a/lib/templates.dart +++ b/lib/templates.dart @@ -464,6 +464,17 @@ const String _webCss = ''' bottom: 0; right: 0; } + + #splash, + #splash img, + #splash-branding, + #splash-branding img { + pointer-events: none; + -webkit-user-select: none; + user-select: none; + -webkit-touch-callout: none; + -webkit-user-drag: none; + } '''; const String _webCssDark = ''' @@ -481,7 +492,7 @@ const String _indexHtmlPicture = ''' - + '''; // XML's insertBefore can't have a newline at the end: @@ -489,15 +500,34 @@ const String _indexHtmlBrandingPicture = ''' - + '''; const String _webJS = ''' ''';