Title: Tour of Heroes Docs: Missing CSS Styles in src/styles.css · Issue #45328 · angular/angular · GitHub
Open Graph Title: Tour of Heroes Docs: Missing CSS Styles in src/styles.css · Issue #45328 · angular/angular
X Title: Tour of Heroes Docs: Missing CSS Styles in src/styles.css · Issue #45328 · angular/angular
Description: Description Tour of Heroes (TOH) Part 0 is missing button styles in src/styles.css. As a result, when developers go through the TOH, button CSS styles that are present in the live examples in src/styles.css are not present in the code sn...
Open Graph Description: Description Tour of Heroes (TOH) Part 0 is missing button styles in src/styles.css. As a result, when developers go through the TOH, button CSS styles that are present in the live examples in src/s...
X Description: Description Tour of Heroes (TOH) Part 0 is missing button styles in src/styles.css. As a result, when developers go through the TOH, button CSS styles that are present in the live examples in src/s...
Opengraph URL: https://github.com/angular/angular/issues/45328
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tour of Heroes Docs: Missing CSS Styles in src/styles.css","articleBody":"### Description\r\n\r\nTour of Heroes (TOH) Part 0 is missing button styles in `src/styles.css`. As a result, when developers go through the TOH, button CSS styles that are present in the live examples in src/styles.css are not present in the code snippets at the end of the lesson. This is most apparent in [TOH part-2](https://angular.io/tutorial/toh-pt2), where a list of buttons are shown without the expected styles.\r\n\r\n### What is the affected URL?\r\n\r\nhttps://angular.io/tutorial/toh-pt0\r\n\r\n### Please provide the steps to reproduce the issue\r\n\r\n1. Create new project in TOH Part 0 and apply code snippets to project\r\n2. Follow steps in TOH part 1 and apply code snippets\r\n3. Follow steps in TOH part 2 and apply code snippets\r\n4. View output project styling for heroes.component.html without the expected button styling\r\n\r\nMinimal Reproduction\r\nhttps://stackblitz.com/edit/angular-ivy-3vttek?file=src%2Fstyles.css\r\n\r\n### Please provide the expected behavior vs the actual behavior you encountered\r\n\r\n**Expected**: heroes.component.html will have expected button styles applied as seen in the [live example ](https://stackblitz.com/run?file=src/app/heroes/heroes.component.html)for TOH part 2\r\n**Actual**: heroes.component.html does not have button styles applied.\r\n\r\n### Please provide a screenshot if possible\r\n\r\nActual\r\n\u003cimg width=\"331\" alt=\"TOH-p2-button-styles-actual\" src=\"https://user-images.githubusercontent.com/20045743/157781153-7268ae58-6ac6-4110-a9a8-a2420ce76340.png\">\r\n\r\n\r\nExpected\r\n\u003cimg width=\"331\" alt=\"TOH-p2-button-styles-expected\" src=\"https://user-images.githubusercontent.com/20045743/157781181-0bdf8ea3-80aa-45a2-a935-1bcaf9f953f2.png\">\r\n\r\n\r\n\r\n### Please provide the exception or error you saw\r\n\r\n```true\r\nN/A\r\n```\r\n\r\n\r\n### Is this a browser-specific issue? If so, please specify the device, browser, and version.\r\n\r\n```true\r\nN/A\r\n```\r\n","author":{"url":"https://github.com/lee-cooper","@type":"Person","name":"lee-cooper"},"datePublished":"2022-03-11T00:58:40Z","url":"https://github.com/angular/angular/issues/45328"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:015f7671-bf73-fd12-32ec-9110c641227a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E08C:1C94F:419685:5384F0:6B010A51 |
| html-safe-nonce | efe3fac9c5e2edd7ba38711191c06ceb182088f18f33781a9d236c945f84e54e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDhDOjFDOTRGOjQxOTY4NTo1Mzg0RjA6NkIwMTBBNTEiLCJ2aXNpdG9yX2lkIjoiNTYyMTg2NzcwNTU0MDg3Mjc4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 01b56b593976b6178179ee37999c3c53dce4a169fdb760fc796b725152de8d73 |
| hovercard-subject-tag | issue:1165882638 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/45328/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e38cb407294fe5276380fd1be02c2fe6eba9de387853512a0e87f9d10ff02c0a/angular/angular/issues/45328 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e38cb407294fe5276380fd1be02c2fe6eba9de387853512a0e87f9d10ff02c0a/angular/angular/issues/45328 |
| og:image:alt | Description Tour of Heroes (TOH) Part 0 is missing button styles in src/styles.css. As a result, when developers go through the TOH, button CSS styles that are present in the live examples in src/s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lee-cooper |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width