mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-24 18:15:17 +00:00
Navbar fix
This commit is contained in:
parent
ab9cdd990d
commit
658795f531
|
@ -5,8 +5,8 @@ RUN cd /app/ui && yarn && yarn build
|
||||||
|
|
||||||
FROM rust:1.33 as rust
|
FROM rust:1.33 as rust
|
||||||
COPY server /app/server
|
COPY server /app/server
|
||||||
|
WORKDIR /app/server
|
||||||
COPY --from=node /app/ui/dist /app/dist
|
COPY --from=node /app/ui/dist /app/dist
|
||||||
RUN cd /app/server && cargo build --release
|
RUN cargo build --release
|
||||||
RUN mv /app/server/target/release/lemmy /app/
|
RUN mv /app/server/target/release/lemmy /app/
|
||||||
WORKDIR /app/
|
|
||||||
EXPOSE 8536
|
EXPOSE 8536
|
||||||
|
|
|
@ -40,7 +40,7 @@ export class Navbar extends Component<any, NavbarState> {
|
||||||
// TODO toggle css collapse
|
// TODO toggle css collapse
|
||||||
navbar() {
|
navbar() {
|
||||||
return (
|
return (
|
||||||
<nav class="container navbar navbar-expand-sm navbar-light navbar-bg p-0 px-3">
|
<nav class="container navbar navbar-expand-md navbar-light navbar-bg p-0 px-3">
|
||||||
<a title={version} class="navbar-brand" href="#">
|
<a title={version} class="navbar-brand" href="#">
|
||||||
<svg class="icon mr-2"><use xlinkHref="#icon-mouse"></use></svg>
|
<svg class="icon mr-2"><use xlinkHref="#icon-mouse"></use></svg>
|
||||||
Lemmy
|
Lemmy
|
||||||
|
|
Loading…
Reference in a new issue