+ Create New +
+| + @Html.DisplayNameFor(model => model.CategoryName) + | ++ @Html.DisplayNameFor(model => model.Description) + | ++ @Html.DisplayNameFor(model => model.Picture) + | ++ |
|---|---|---|---|
| + @Html.DisplayFor(modelItem => item.CategoryName) + | ++ @Html.DisplayFor(modelItem => item.Description) + | ++ @Html.DisplayFor(modelItem => item.Picture) + | ++ Edit | + Details | + Delete + | +
+ Create New +
+| + @Html.DisplayNameFor(model => model.CompanyName) + | ++ @Html.DisplayNameFor(model => model.ContactName) + | ++ @Html.DisplayNameFor(model => model.ContactTitle) + | ++ @Html.DisplayNameFor(model => model.Address) + | ++ @Html.DisplayNameFor(model => model.City) + | ++ @Html.DisplayNameFor(model => model.Region) + | ++ @Html.DisplayNameFor(model => model.PostalCode) + | ++ @Html.DisplayNameFor(model => model.Country) + | ++ @Html.DisplayNameFor(model => model.Phone) + | ++ @Html.DisplayNameFor(model => model.Fax) + | ++ |
|---|---|---|---|---|---|---|---|---|---|---|
| + @Html.DisplayFor(modelItem => item.CompanyName) + | ++ @Html.DisplayFor(modelItem => item.ContactName) + | ++ @Html.DisplayFor(modelItem => item.ContactTitle) + | ++ @Html.DisplayFor(modelItem => item.Address) + | ++ @Html.DisplayFor(modelItem => item.City) + | ++ @Html.DisplayFor(modelItem => item.Region) + | ++ @Html.DisplayFor(modelItem => item.PostalCode) + | ++ @Html.DisplayFor(modelItem => item.Country) + | ++ @Html.DisplayFor(modelItem => item.Phone) + | ++ @Html.DisplayFor(modelItem => item.Fax) + | ++ Edit | + Details | + Delete + | +
+ Create New +
+| + @Html.DisplayNameFor(model => model.Customer) + | ++ @Html.DisplayNameFor(model => model.CustomerType) + | ++ |
|---|---|---|
| + @Html.DisplayFor(modelItem => item.Customer.CustomerId) + | ++ @Html.DisplayFor(modelItem => item.CustomerType.CustomerTypeId) + | ++ @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) | + @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) | + @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ }) + | +
+ Create New +
+| + @Html.DisplayNameFor(model => model.CustomerDesc) + | ++ |
|---|---|
| + @Html.DisplayFor(modelItem => item.CustomerDesc) + | ++ Edit | + Details | + Delete + | +
+ Create New +
+| + @Html.DisplayNameFor(model => model.LastName) + | ++ @Html.DisplayNameFor(model => model.FirstName) + | ++ @Html.DisplayNameFor(model => model.Title) + | ++ @Html.DisplayNameFor(model => model.TitleOfCourtesy) + | ++ @Html.DisplayNameFor(model => model.BirthDate) + | ++ @Html.DisplayNameFor(model => model.HireDate) + | ++ @Html.DisplayNameFor(model => model.Address) + | ++ @Html.DisplayNameFor(model => model.City) + | ++ @Html.DisplayNameFor(model => model.Region) + | ++ @Html.DisplayNameFor(model => model.PostalCode) + | ++ @Html.DisplayNameFor(model => model.Country) + | ++ @Html.DisplayNameFor(model => model.HomePhone) + | ++ @Html.DisplayNameFor(model => model.Extension) + | ++ @Html.DisplayNameFor(model => model.Photo) + | ++ @Html.DisplayNameFor(model => model.Notes) + | ++ @Html.DisplayNameFor(model => model.ReportsToNavigation) + | ++ @Html.DisplayNameFor(model => model.PhotoPath) + | ++ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + @Html.DisplayFor(modelItem => item.LastName) + | ++ @Html.DisplayFor(modelItem => item.FirstName) + | ++ @Html.DisplayFor(modelItem => item.Title) + | ++ @Html.DisplayFor(modelItem => item.TitleOfCourtesy) + | ++ @Html.DisplayFor(modelItem => item.BirthDate) + | ++ @Html.DisplayFor(modelItem => item.HireDate) + | ++ @Html.DisplayFor(modelItem => item.Address) + | ++ @Html.DisplayFor(modelItem => item.City) + | ++ @Html.DisplayFor(modelItem => item.Region) + | ++ @Html.DisplayFor(modelItem => item.PostalCode) + | ++ @Html.DisplayFor(modelItem => item.Country) + | ++ @Html.DisplayFor(modelItem => item.HomePhone) + | ++ @Html.DisplayFor(modelItem => item.Extension) + | ++ @Html.DisplayFor(modelItem => item.Photo) + | ++ @Html.DisplayFor(modelItem => item.Notes) + | ++ @Html.DisplayFor(modelItem => item.ReportsToNavigation.FirstName) + | ++ @Html.DisplayFor(modelItem => item.PhotoPath) + | ++ Edit | + Details | + Delete + | +
+ Create New +
+| + @Html.DisplayNameFor(model => model.Employee) + | ++ @Html.DisplayNameFor(model => model.Territory) + | ++ |
|---|---|---|
| + @Html.DisplayFor(modelItem => item.Employee.FirstName) + | ++ @Html.DisplayFor(modelItem => item.Territory.TerritoryId) + | ++ @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) | + @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) | + @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ }) + | +
Learn about building Web apps with ASP.NET Core.
+Use this page to detail your site's privacy policy.
diff --git a/EntityFrameworkCore.Scaffolder.Samples.Web/Views/Order/Create.cshtml b/EntityFrameworkCore.Scaffolder.Samples.Web/Views/Order/Create.cshtml new file mode 100644 index 0000000..a2ff0b9 --- /dev/null +++ b/EntityFrameworkCore.Scaffolder.Samples.Web/Views/Order/Create.cshtml @@ -0,0 +1,85 @@ +@model ClearBlueDesign.EntityFrameworkCore.Scaffolder.Samples.Web.Data.Order + +@{ + ViewData["Title"] = "Create"; +} + ++ Create New +
+| + @Html.DisplayNameFor(model => model.Customer) + | ++ @Html.DisplayNameFor(model => model.Employee) + | ++ @Html.DisplayNameFor(model => model.OrderDate) + | ++ @Html.DisplayNameFor(model => model.RequiredDate) + | ++ @Html.DisplayNameFor(model => model.ShippedDate) + | ++ @Html.DisplayNameFor(model => model.ShipViaNavigation) + | ++ @Html.DisplayNameFor(model => model.Freight) + | ++ @Html.DisplayNameFor(model => model.ShipName) + | ++ @Html.DisplayNameFor(model => model.ShipAddress) + | ++ @Html.DisplayNameFor(model => model.ShipCity) + | ++ @Html.DisplayNameFor(model => model.ShipRegion) + | ++ @Html.DisplayNameFor(model => model.ShipPostalCode) + | ++ @Html.DisplayNameFor(model => model.ShipCountry) + | ++ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + @Html.DisplayFor(modelItem => item.Customer.CustomerId) + | ++ @Html.DisplayFor(modelItem => item.Employee.FirstName) + | ++ @Html.DisplayFor(modelItem => item.OrderDate) + | ++ @Html.DisplayFor(modelItem => item.RequiredDate) + | ++ @Html.DisplayFor(modelItem => item.ShippedDate) + | ++ @Html.DisplayFor(modelItem => item.ShipViaNavigation.CompanyName) + | ++ @Html.DisplayFor(modelItem => item.Freight) + | ++ @Html.DisplayFor(modelItem => item.ShipName) + | ++ @Html.DisplayFor(modelItem => item.ShipAddress) + | ++ @Html.DisplayFor(modelItem => item.ShipCity) + | ++ @Html.DisplayFor(modelItem => item.ShipRegion) + | ++ @Html.DisplayFor(modelItem => item.ShipPostalCode) + | ++ @Html.DisplayFor(modelItem => item.ShipCountry) + | ++ Edit | + Details | + Delete + | +
+ Create New +
+| + @Html.DisplayNameFor(model => model.Order) + | ++ @Html.DisplayNameFor(model => model.Product) + | ++ @Html.DisplayNameFor(model => model.UnitPrice) + | ++ @Html.DisplayNameFor(model => model.Quantity) + | ++ @Html.DisplayNameFor(model => model.Discount) + | ++ |
|---|---|---|---|---|---|
| + @Html.DisplayFor(modelItem => item.Order.OrderId) + | ++ @Html.DisplayFor(modelItem => item.Product.ProductName) + | ++ @Html.DisplayFor(modelItem => item.UnitPrice) + | ++ @Html.DisplayFor(modelItem => item.Quantity) + | ++ @Html.DisplayFor(modelItem => item.Discount) + | ++ @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) | + @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) | + @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ }) + | +
+ Create New +
+| + @Html.DisplayNameFor(model => model.ProductName) + | ++ @Html.DisplayNameFor(model => model.Supplier) + | ++ @Html.DisplayNameFor(model => model.Category) + | ++ @Html.DisplayNameFor(model => model.QuantityPerUnit) + | ++ @Html.DisplayNameFor(model => model.UnitPrice) + | ++ @Html.DisplayNameFor(model => model.UnitsInStock) + | ++ @Html.DisplayNameFor(model => model.UnitsOnOrder) + | ++ @Html.DisplayNameFor(model => model.ReorderLevel) + | ++ @Html.DisplayNameFor(model => model.Discontinued) + | ++ |
|---|---|---|---|---|---|---|---|---|---|
| + @Html.DisplayFor(modelItem => item.ProductName) + | ++ @Html.DisplayFor(modelItem => item.Supplier.CompanyName) + | ++ @Html.DisplayFor(modelItem => item.Category.CategoryName) + | ++ @Html.DisplayFor(modelItem => item.QuantityPerUnit) + | ++ @Html.DisplayFor(modelItem => item.UnitPrice) + | ++ @Html.DisplayFor(modelItem => item.UnitsInStock) + | ++ @Html.DisplayFor(modelItem => item.UnitsOnOrder) + | ++ @Html.DisplayFor(modelItem => item.ReorderLevel) + | ++ @Html.DisplayFor(modelItem => item.Discontinued) + | ++ Edit | + Details | + Delete + | +
+ Request ID: @Model.RequestId
+
+ Swapping to Development environment will display more detailed information about the error that occurred. +
++ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +
diff --git a/EntityFrameworkCore.Scaffolder.Samples.Web/Views/Shared/_Layout.cshtml b/EntityFrameworkCore.Scaffolder.Samples.Web/Views/Shared/_Layout.cshtml new file mode 100644 index 0000000..6e27487 --- /dev/null +++ b/EntityFrameworkCore.Scaffolder.Samples.Web/Views/Shared/_Layout.cshtml @@ -0,0 +1,69 @@ + + + + + ++ Create New +
+| + @Html.DisplayNameFor(model => model.CompanyName) + | ++ @Html.DisplayNameFor(model => model.Phone) + | ++ |
|---|---|---|
| + @Html.DisplayFor(modelItem => item.CompanyName) + | ++ @Html.DisplayFor(modelItem => item.Phone) + | ++ Edit | + Details | + Delete + | +
+ Create New +
+| + @Html.DisplayNameFor(model => model.ContactName) + | ++ @Html.DisplayNameFor(model => model.ContactTitle) + | ++ @Html.DisplayNameFor(model => model.Phone) + | ++ @Html.DisplayNameFor(model => model.Fax) + | ++ @Html.DisplayNameFor(model => model.HomePage) + | ++ @Html.DisplayNameFor(model => model.CompanyName) + | ++ @Html.DisplayNameFor(model => model.Address) + | ++ @Html.DisplayNameFor(model => model.City) + | ++ @Html.DisplayNameFor(model => model.Region) + | ++ @Html.DisplayNameFor(model => model.PostalCode) + | ++ @Html.DisplayNameFor(model => model.Country) + | ++ |
|---|---|---|---|---|---|---|---|---|---|---|---|
| + @Html.DisplayFor(modelItem => item.ContactName) + | ++ @Html.DisplayFor(modelItem => item.ContactTitle) + | ++ @Html.DisplayFor(modelItem => item.Phone) + | ++ @Html.DisplayFor(modelItem => item.Fax) + | ++ @Html.DisplayFor(modelItem => item.HomePage) + | ++ @Html.DisplayFor(modelItem => item.CompanyName) + | ++ @Html.DisplayFor(modelItem => item.Address) + | ++ @Html.DisplayFor(modelItem => item.City) + | ++ @Html.DisplayFor(modelItem => item.Region) + | ++ @Html.DisplayFor(modelItem => item.PostalCode) + | ++ @Html.DisplayFor(modelItem => item.Country) + | ++ Edit | + Details | + Delete + | +
+ Create New +
+| + @Html.DisplayNameFor(model => model.TerritoryDescription) + | ++ @Html.DisplayNameFor(model => model.Region) + | ++ |
|---|---|---|
| + @Html.DisplayFor(modelItem => item.TerritoryDescription) + | ++ @Html.DisplayFor(modelItem => item.Region.RegionDescription) + | ++ Edit | + Details | + Delete + | +
`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n// Abbreviations\n//\n// 1. Duplicate behavior to the data-* attribute for our tooltip plugin\n// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n// 3. Add explicit cursor to indicate changed behavior.\n// 4. Remove the bottom border in Firefox 39-.\n// 5. Prevent the text-decoration to be skipped.\n\nabbr[title],\nabbr[data-original-title] { // 1\n text-decoration: underline; // 2\n text-decoration: underline dotted; // 2\n cursor: help; // 3\n border-bottom: 0; // 4\n text-decoration-skip-ink: none; // 5\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // Undo browser default\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\nb,\nstrong {\n font-weight: $font-weight-bolder; // Add the correct font weight in Chrome, Edge, and Safari\n}\n\nsmall {\n @include font-size(80%); // Add the correct font size in all browsers\n}\n\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n//\n\nsub,\nsup {\n position: relative;\n @include font-size(75%);\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n//\n// Links\n//\n\na {\n color: $link-color;\n text-decoration: $link-decoration;\n background-color: transparent; // Remove the gray background on active links in IE 10.\n\n @include hover {\n color: $link-hover-color;\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href)\n// which have not been made explicitly keyboard-focusable (without tabindex).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([tabindex]) {\n color: inherit;\n text-decoration: none;\n\n @include hover-focus {\n color: inherit;\n text-decoration: none;\n }\n\n &:focus {\n outline: 0;\n }\n}\n\n\n//\n// Code\n//\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-monospace;\n @include font-size(1em); // Correct the odd `em` font sizing in all browsers.\n}\n\npre {\n // Remove browser default top margin\n margin-top: 0;\n // Reset browser default of `1em` to use `rem`s\n margin-bottom: 1rem;\n // Don't allow content to break outside\n overflow: auto;\n}\n\n\n//\n// Figures\n//\n\nfigure {\n // Apply a consistent margin strategy (matches our type styles).\n margin: 0 0 1rem;\n}\n\n\n//\n// Images and content\n//\n\nimg {\n vertical-align: middle;\n border-style: none; // Remove the border on images inside links in IE 10-.\n}\n\nsvg {\n // Workaround for the SVG overflow bug in IE10/11 is still required.\n // See https://github.com/twbs/bootstrap/issues/26878\n overflow: hidden;\n vertical-align: middle;\n}\n\n\n//\n// Tables\n//\n\ntable {\n border-collapse: collapse; // Prevent double borders\n}\n\ncaption {\n padding-top: $table-cell-padding;\n padding-bottom: $table-cell-padding;\n color: $table-caption-color;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n // Matches default `
`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n// Abbreviations\n//\n// 1. Duplicate behavior to the data-* attribute for our tooltip plugin\n// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n// 3. Add explicit cursor to indicate changed behavior.\n// 4. Remove the bottom border in Firefox 39-.\n// 5. Prevent the text-decoration to be skipped.\n\nabbr[title],\nabbr[data-original-title] { // 1\n text-decoration: underline; // 2\n text-decoration: underline dotted; // 2\n cursor: help; // 3\n border-bottom: 0; // 4\n text-decoration-skip-ink: none; // 5\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // Undo browser default\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\nb,\nstrong {\n font-weight: $font-weight-bolder; // Add the correct font weight in Chrome, Edge, and Safari\n}\n\nsmall {\n @include font-size(80%); // Add the correct font size in all browsers\n}\n\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n//\n\nsub,\nsup {\n position: relative;\n @include font-size(75%);\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n//\n// Links\n//\n\na {\n color: $link-color;\n text-decoration: $link-decoration;\n background-color: transparent; // Remove the gray background on active links in IE 10.\n\n @include hover {\n color: $link-hover-color;\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href)\n// which have not been made explicitly keyboard-focusable (without tabindex).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([tabindex]) {\n color: inherit;\n text-decoration: none;\n\n @include hover-focus {\n color: inherit;\n text-decoration: none;\n }\n\n &:focus {\n outline: 0;\n }\n}\n\n\n//\n// Code\n//\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-monospace;\n @include font-size(1em); // Correct the odd `em` font sizing in all browsers.\n}\n\npre {\n // Remove browser default top margin\n margin-top: 0;\n // Reset browser default of `1em` to use `rem`s\n margin-bottom: 1rem;\n // Don't allow content to break outside\n overflow: auto;\n}\n\n\n//\n// Figures\n//\n\nfigure {\n // Apply a consistent margin strategy (matches our type styles).\n margin: 0 0 1rem;\n}\n\n\n//\n// Images and content\n//\n\nimg {\n vertical-align: middle;\n border-style: none; // Remove the border on images inside links in IE 10-.\n}\n\nsvg {\n // Workaround for the SVG overflow bug in IE10/11 is still required.\n // See https://github.com/twbs/bootstrap/issues/26878\n overflow: hidden;\n vertical-align: middle;\n}\n\n\n//\n// Tables\n//\n\ntable {\n border-collapse: collapse; // Prevent double borders\n}\n\ncaption {\n padding-top: $table-cell-padding;\n padding-bottom: $table-cell-padding;\n color: $table-caption-color;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n // Matches default `
`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n// Abbreviations\n//\n// 1. Duplicate behavior to the data-* attribute for our tooltip plugin\n// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n// 3. Add explicit cursor to indicate changed behavior.\n// 4. Remove the bottom border in Firefox 39-.\n// 5. Prevent the text-decoration to be skipped.\n\nabbr[title],\nabbr[data-original-title] { // 1\n text-decoration: underline; // 2\n text-decoration: underline dotted; // 2\n cursor: help; // 3\n border-bottom: 0; // 4\n text-decoration-skip-ink: none; // 5\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // Undo browser default\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\nb,\nstrong {\n font-weight: $font-weight-bolder; // Add the correct font weight in Chrome, Edge, and Safari\n}\n\nsmall {\n @include font-size(80%); // Add the correct font size in all browsers\n}\n\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n//\n\nsub,\nsup {\n position: relative;\n @include font-size(75%);\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n//\n// Links\n//\n\na {\n color: $link-color;\n text-decoration: $link-decoration;\n background-color: transparent; // Remove the gray background on active links in IE 10.\n\n @include hover {\n color: $link-hover-color;\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href)\n// which have not been made explicitly keyboard-focusable (without tabindex).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([tabindex]) {\n color: inherit;\n text-decoration: none;\n\n @include hover-focus {\n color: inherit;\n text-decoration: none;\n }\n\n &:focus {\n outline: 0;\n }\n}\n\n\n//\n// Code\n//\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-monospace;\n @include font-size(1em); // Correct the odd `em` font sizing in all browsers.\n}\n\npre {\n // Remove browser default top margin\n margin-top: 0;\n // Reset browser default of `1em` to use `rem`s\n margin-bottom: 1rem;\n // Don't allow content to break outside\n overflow: auto;\n}\n\n\n//\n// Figures\n//\n\nfigure {\n // Apply a consistent margin strategy (matches our type styles).\n margin: 0 0 1rem;\n}\n\n\n//\n// Images and content\n//\n\nimg {\n vertical-align: middle;\n border-style: none; // Remove the border on images inside links in IE 10-.\n}\n\nsvg {\n // Workaround for the SVG overflow bug in IE10/11 is still required.\n // See https://github.com/twbs/bootstrap/issues/26878\n overflow: hidden;\n vertical-align: middle;\n}\n\n\n//\n// Tables\n//\n\ntable {\n border-collapse: collapse; // Prevent double borders\n}\n\ncaption {\n padding-top: $table-cell-padding;\n padding-bottom: $table-cell-padding;\n color: $table-caption-color;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n // Matches default `