popup.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!doctype html>
  2. <!--
  3. Copyright 2012 Mozilla Foundation
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <html>
  15. <head>
  16. <meta charset="utf-8">
  17. <title></title>
  18. <style>
  19. html {
  20. /* maximum width of popup as defined in Chromium's source code as kMaxWidth
  21. //src/chrome/browser/ui/views/extensions/extension_popup.cc
  22. //src/chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc
  23. */
  24. width: 800px;
  25. /* in case Chromium decides to lower the value of kMaxWidth */
  26. max-width: 100%;
  27. margin: 0;
  28. padding: 0;
  29. }
  30. body {
  31. box-sizing: border-box;
  32. margin: 0;
  33. padding: 5px;
  34. width: 100%;
  35. }
  36. </style>
  37. </head>
  38. <body contentEditable="plaintext-only" spellcheck="false">
  39. <script src="popup.js"></script>
  40. </body>
  41. </html>