Navbar fix

This commit is contained in:
Dessalines 2019-04-09 15:33:49 -07:00
parent 4bfb32c665
commit 698f3639f2
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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