Skip to content

Commit

Permalink
handle file management 5, css fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ozieblo-michal committed Jun 11, 2024
1 parent cd1d6b0 commit a4515c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/frontend/my-app/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ h2 + ul {
}

.subtitle {
text-align: left; /* Upewnij się, że podtytuły są wyrównane do lewej */
margin-left: 0; /* Usuń margines, aby wyrównać do nagłówka tytularnego */
text-align: left;
margin-left: 0;
}

.github-icon {
width: 24px;
height: 24px;
vertical-align: middle;
margin-left: 10px; /* Dostosuj wartość w razie potrzeby */
margin-left: 10px;
}

.upload-buttons {
Expand Down
9 changes: 5 additions & 4 deletions src/frontend/my-app/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,11 @@ function App() {
return (
<div>
<h1>Simple Vite and FastAPI App</h1>
<h3 className="subtitle">
Enforce HTTPS is required for this site because it uses the default domain (ozieblo-michal.github.io). This may be disabled if you switch to a custom domain. Open the link <a href={`${backendUrl}:81`} target="_blank" rel="noopener noreferrer">{`${backendUrl}:81/docs`}</a> and accept the self-signed certificate to ensure the frontend functions correctly.
</h3>
{!token && (
<h3 className="subtitle">
Enforce HTTPS is required for this site because it uses the default domain (ozieblo-michal.github.io). This may be disabled if you switch to a custom domain. Open the link <a href={`${backendUrl}:81`} target="_blank" rel="noopener noreferrer">{`${backendUrl}:81/docs`}</a> and accept the self-signed certificate to ensure the frontend functions correctly.
</h3>
)}
<div className="subtitle">
<h2>Source: <a href="https://github.com/ozieblo-michal/vitefast">ViteFast</a>
<a href="https://github.com/ozieblo-michal/vitefast">
Expand Down Expand Up @@ -336,7 +338,6 @@ function App() {
{response && (
<div>
<h2>Response:</h2>
{/* <p>ID: {response.id}</p> */}
<p>Name: {response.name}</p>
<p>Description: {response.description}</p>
{response.optional_field && <p>Optional Field: {response.optional_field}</p>}
Expand Down

0 comments on commit a4515c4

Please sign in to comment.