diff --git a/api_docs.md.erb b/api_docs.md.erb index 095dc3207a..2e874e6315 100644 --- a/api_docs.md.erb +++ b/api_docs.md.erb @@ -5,7 +5,7 @@ <% end %> <% if (request.has_params? || request.has_body?) %> <% if request.display_body.length > 4 %> -### Request +**Request** ``` <%= @@ -14,7 +14,7 @@ ``` <% end %> <% end %> -### Response +**Response** ``` <%= diff --git a/frontend/css/toastr.scss b/frontend/css/toastr.scss index a46cd828a6..e8ca03c1df 100644 --- a/frontend/css/toastr.scss +++ b/frontend/css/toastr.scss @@ -58,6 +58,11 @@ .toast-title, .toast-message { color: $dark_gray; + .markdown { + * { + color: $dark_gray; + } + } } } &.green, @@ -69,6 +74,11 @@ .toast-title, .toast-message { color: $off_white; + .markdown { + * { + color: $off_white; + } + } } } } @@ -83,6 +93,14 @@ .toast-message { pointer-events: none; font-size: 1.3rem; + .markdown { + p { + width: unset; + text-overflow: unset; + overflow: unset; + white-space: unset; + } + } } .toast-loader { diff --git a/frontend/os_download/content.tsx b/frontend/os_download/content.tsx index ec65af34ef..7ff1093ea2 100644 --- a/frontend/os_download/content.tsx +++ b/frontend/os_download/content.tsx @@ -65,8 +65,8 @@ const PLATFORM_DATA = (): PlatformContent[] => [ imageUrl: RPI4().imageUrl, releaseTag: RPI4().releaseTag, kits: [ - "Genesis v1.6.1 (red cable)", - "Genesis XL v1.6.1 (red cable)", + "Genesis v1.6.1 (white cable)", + "Genesis XL v1.6.1 (white cable)", ], }] : []), diff --git a/frontend/toast/fb_toast.tsx b/frontend/toast/fb_toast.tsx index dd506d7eb5..537f1b8bf8 100644 --- a/frontend/toast/fb_toast.tsx +++ b/frontend/toast/fb_toast.tsx @@ -3,6 +3,7 @@ import { isUndefined } from "lodash"; import { Actions } from "../constants"; import { ToastProps, ToastsProps, ToastState } from "./interfaces"; import { store } from "../redux/store"; +import { Markdown } from "../ui"; export class Toast extends React.Component { state: ToastState = { @@ -66,7 +67,9 @@ export class Toast extends React.Component { onMouseLeave={() => this.setState({ isHovered: false })}>

{this.props.title}

- {this.props.message.replace(/\s+/g, " ")} + + {this.props.message.replace(/\s+/g, " ")} +