Skip to content

Commit

Permalink
misc fixes and tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jprusik committed Nov 13, 2023
1 parent 36a8ead commit 0f2dda3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ WORKDIR /usr/app
COPY . .
RUN npm ci
RUN npm run build
# CMD ["sh", "scripts/generate-certs.sh"]

FROM node:${NODE_VERSION}-alpine
WORKDIR /usr/app
Expand All @@ -15,4 +16,3 @@ COPY --from=build /usr/app/api/ssl.crt ./api/ssl.crt
COPY --from=build /usr/app/api/ssl.key ./api/ssl.key
COPY --from=build /usr/app/api/.env ./.env
CMD ["node", "api/build/app.js"]
EXPOSE 443
4 changes: 2 additions & 2 deletions client/docs/forms/login/iframe-login-sandboxed.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: iframe-sandboxed-login
title: sandboxed iframe login form
sidebar_label: iframe (sandboxed)
sidebar_position: 3
description: This is a login form nested within an inline frame (iframe) utilizing the sandbox attribute which is set to `allow-scripts allow-same-origin`. It will POST on submit.
description: This is a login form nested within an inline frame (iframe) utilizing the sandbox attribute which is set to `allow-scripts allow-forms allow-same-origin`. It will POST on submit.
---

<iframe
Expand All @@ -12,7 +12,7 @@ description: This is a login form nested within an inline frame (iframe) utilizi
class="margin-vert--lg"
style="overflow-y: hidden; width: 100%; height: 400px;"
scrolling="no"
sandbox="allow-scripts allow-same-origin"
sandbox="allow-scripts allow-forms allow-same-origin"
></iframe>
<hr/>
4 changes: 4 additions & 0 deletions client/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
}

select,
input:not([type]), /* text type is stripped from built html */
input[type="url"],
input[type="email"],
input[type="tel"],
Expand All @@ -95,6 +96,7 @@ input[type="text"] {
}

select:hover,
input:not([type]):hover, /* text type is stripped from built html */
input[type="url"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
Expand All @@ -105,13 +107,15 @@ input[type="text"]:hover {
}

select:focus,
input:not([type]):focus, /* text type is stripped from built html */
input[type="url"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
select:active,
input:not([type]):active, /* text type is stripped from built html */
input[type="url"]:active,
input[type="email"]:active,
input[type="tel"]:active,
Expand Down

0 comments on commit 0f2dda3

Please sign in to comment.