]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove borders from iframes by default (#30620)
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Wed, 29 Apr 2020 18:32:35 +0000 (20:32 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Apr 2020 18:32:35 +0000 (20:32 +0200)
scss/_reboot.scss
scss/helpers/_embed.scss
site/content/docs/4.3/helpers/embed.md

index 2563405a39bb238c68f865cdcf00d90be3df03de..2b4eb37b4cb4a017577f623f5bc87fcb6d05538d 100644 (file)
@@ -575,6 +575,11 @@ output {
   display: inline-block;
 }
 
+// Remove border from iframe
+
+iframe {
+  border: 0;
+}
 
 // Summary
 //
index 1df7b433898c9b5cdc0e93da837b91e195a0bf11..924fc0e6d0fdf5f50860e1c158a538e9e9824286 100644 (file)
@@ -19,7 +19,6 @@
     left: 0;
     width: 100%;
     height: 100%;
-    border: 0;
   }
 }
 
index 30914b2d6442cef22f80cdf2db3ec5550753fc34..78d3f265d08806dda79d2283bded7671c53e05ea 100644 (file)
@@ -10,7 +10,7 @@ toc: true
 
 Rules are directly applied to `<iframe>`, `<embed>`, `<video>`, and `<object>` elements; optionally use an explicit descendant class `.embed-responsive-item` when you want to match the styling for other attributes.
 
-**Pro-Tip!** You don't need to include `frameborder="0"` in your `<iframe>`s as we override that for you.
+**Pro-Tip!** You don't need to include `frameborder="0"` in your `<iframe>`s as we override that for you in [reboot]({{< docsref "/content/reboot" >}}).
 
 ## Example