Skip to content

Commit

Permalink
minor layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PXNX committed Dec 16, 2023
1 parent 87897a4 commit 114784e
Show file tree
Hide file tree
Showing 8 changed files with 321 additions and 336 deletions.
114 changes: 90 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ammonia = "3.3.0"
futures-util = "0.3.29"
futures = "0.3.29"
http = "1.0.0"
home = "0.5.5"
home = "0.5.9"



38 changes: 23 additions & 15 deletions public/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4175,6 +4175,21 @@ input.tab:checked + .tab-content,
margin-bottom: 0.5rem !important;
}

.my-24 {
margin-top: 6rem !important;
margin-bottom: 6rem !important;
}

.mx-16 {
margin-left: 4rem !important;
margin-right: 4rem !important;
}

.my-16 {
margin-top: 4rem !important;
margin-bottom: 4rem !important;
}

.mb-2 {
margin-bottom: 0.5rem !important;
}
Expand Down Expand Up @@ -4227,10 +4242,6 @@ input.tab:checked + .tab-content,
margin-top: 5rem !important;
}

.mt-24 {
margin-top: 6rem !important;
}

.mt-4 {
margin-top: 1rem !important;
}
Expand All @@ -4247,6 +4258,14 @@ input.tab:checked + .tab-content,
margin-top: auto !important;
}

.mb-16 {
margin-bottom: 4rem !important;
}

.mt-24 {
margin-top: 6rem !important;
}

.block {
display: block !important;
}
Expand Down Expand Up @@ -4632,12 +4651,6 @@ input.tab:checked + .tab-content,
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.from-gray-900 {
--tw-gradient-from: #111827 var(--tw-gradient-from-position) !important;
--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position) !important;
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.from-green-800 {
--tw-gradient-from: #166534 var(--tw-gradient-from-position) !important;
--tw-gradient-to: rgb(22 101 52 / 0) var(--tw-gradient-to-position) !important;
Expand Down Expand Up @@ -4951,11 +4964,6 @@ input.tab:checked + .tab-content,
--tw-shadow: var(--tw-shadow-colored) !important;
}

.drop-shadow-sm {
--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05)) !important;
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}

.drop-shadow-md {
--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06)) !important;
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
Expand Down
1 change: 1 addition & 0 deletions src/auth/middlewares.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pub async fn inject_user_data(
request
.extensions_mut()
.insert(Some(UserData { id: query.user_id }));
//todo: also add language of user, his role (admin/mod) here
}
}
}
Expand Down
Loading

0 comments on commit 114784e

Please sign in to comment.