Open platform to collect and prioritize feedback
enhancement: minor design changes (#408)
Guilherme Oenningea61f8b170ae
diff --git a/main.go b/main.goindex 815a7a19e..675cd270f 100644--- a/main.go+++ b/main.go@@ -22,7 +22,7 @@ var buildnumber = "local"// Use this for stable releases// var version = "x.y.z"-var version = "0.13.0"+var version = "0.14.0-" + buildnumberfunc main() {settings := &models.SystemSettings{diff --git a/public/assets/styles/main.scss b/public/assets/styles/main.scssindex 94f0ed23c..45571104e 100644--- a/public/assets/styles/main.scss+++ b/public/assets/styles/main.scss@@ -25,6 +25,10 @@ body {font-size: $font-size;}+button, input, optgroup, select, textarea {+ font-family: $font-site;+}+/*******************************Headers*******************************/@@ -167,6 +171,7 @@ a:hover {.page {flex: 1 0 auto;margin-top: 10px;+ padding-bottom: 20px;}.page::after {diff --git a/public/components/ShowIdeaResponse.tsx b/public/components/ShowIdeaResponse.tsxindex 801a123c3..8ce7007a8 100644--- a/public/components/ShowIdeaResponse.tsx+++ b/public/components/ShowIdeaResponse.tsx@@ -46,10 +46,7 @@ export const ShowIdeaResponse = (props: IdeaResponseProps): JSX.Element => {return (<Segment className="l-response"><ShowIdeaStatus status={status} />- <Gravatar user={props.response.user} /> <UserName user={props.response.user} />- <span className="info">- <Moment date={props.response.respondedOn} />- </span>+ <Gravatar user={props.response.user} size="small" /> <UserName user={props.response.user} />{status === IdeaStatus.Duplicate ? DuplicateDetails(props) : StatusDetails(props)}</Segment>);diff --git a/public/components/common/Footer.scss b/public/components/common/Footer.scssindex 11158d61d..9f390179d 100644--- a/public/components/common/Footer.scss+++ b/public/components/common/Footer.scss@@ -3,7 +3,6 @@#c-footer {flex-shrink: 0;height: 70px;- margin-top: 20px;div {text-align: center;diff --git a/public/components/common/Gravatar.scss b/public/components/common/Gravatar.scssindex fb4c51981..a12c8dd2a 100644--- a/public/components/common/Gravatar.scss+++ b/public/components/common/Gravatar.scss@@ -2,12 +2,25 @@.c-avatar {border-radius: 50%;- width: 30px;- height: 30px;vertical-align: middle;padding: 1px;display: inline-block;+ &.m-small {+ width: 25px;+ height: 25px;+ }++ &.m-normal {+ width: 30px;+ height: 30px;+ }++ &.m-large {+ width: 35px;+ height: 35px;+ }+&.m-staff {border: 1px solid $admin-color;}diff --git a/public/components/common/Gravatar.tsx b/public/components/common/Gravatar.tsxindex d634f63d7..59f6f5611 100644--- a/public/components/common/Gravatar.tsx+++ b/public/components/common/Gravatar.tsx@@ -6,15 +6,18 @@ import { User, UserRole, UserStatus, CurrentUser } from "@fider/models";interface GravatarProps {user?: User;+ size?: "small" | "normal" | "large";}export const Gravatar = (props: GravatarProps) => {+ const size = props.size || "normal";const id = props.user ? props.user.id : 0;const name = props.user ? props.user.name : "";const url = `${page.getBaseUrl()}/avatars/50/${id}/${encodeURIComponent(name || "?")}`;const className = classSet({"c-avatar": true,+ [`m-${size}`]: true,"m-staff": props.user && props.user.role >= UserRole.Collaborator});diff --git a/public/components/common/Header.scss b/public/components/common/Header.scssindex f5b778a0e..e5b50e32b 100644--- a/public/components/common/Header.scss+++ b/public/components/common/Header.scss@@ -87,7 +87,6 @@}}-.c-menu-user {display: none;position: absolute;diff --git a/public/pages/Home/Home.page.scss b/public/pages/Home/Home.page.scssindex 96cb05aeb..edb4fb7e6 100644--- a/public/pages/Home/Home.page.scss+++ b/public/pages/Home/Home.page.scss@@ -6,6 +6,14 @@margin-bottom: 20px;}+ .l-filter-col {+ display: flex;+ align-items: center;+ @include media(">=md") {+ padding-left: 65px;+ }+ }+.l-ideas-filter {.counter {font-size: 8px;@@ -41,14 +49,12 @@}#input-title {- margin-bottom: 20px;border: none;border-bottom: 1px dashed $gray-darker;background-color: transparent;- font-size: 18px;- padding: 0px 0px 10px 0px;+ font-size: $font-size-big;+ padding: 0px 0px 5px 0px;font-weight: 600;- margin: 0px 0px 10px 0px;border-radius: 0;}}\ No newline at end of filediff --git a/public/pages/Home/Home.page.tsx b/public/pages/Home/Home.page.tsxindex 2d25b64a8..7895c933d 100644--- a/public/pages/Home/Home.page.tsx+++ b/public/pages/Home/Home.page.tsx@@ -45,7 +45,7 @@ export class HomePage extends React.Component<HomePageProps, HomePageState> {return (<div id="p-home" className="page container"><div className="row">- <div className="col-md-5">+ <div className="col-md-4"><MultiLineTextclassName="welcome-message"text={this.props.tenant.welcomeMessage || defaultWelcomeMessage}@@ -57,7 +57,7 @@ export class HomePage extends React.Component<HomePageProps, HomePageState> {onTitleChanged={title => this.setState({ title })}/></div>- <div className="col-md-7">+ <div className="col-md-8">{Object.keys(this.props.countPerStatus).length === 0 ? (<Lonely />) : (diff --git a/public/pages/Home/components/IdeasContainer.tsx b/public/pages/Home/components/IdeasContainer.tsxindex 8746d8d44..f910b643a 100644--- a/public/pages/Home/components/IdeasContainer.tsx+++ b/public/pages/Home/components/IdeasContainer.tsx@@ -109,7 +109,7 @@ export class IdeasContainer extends React.Component<IdeasContainerProps, IdeasCo<><div className="row">{!this.state.query && (- <div className="col-sm-7 col-md-8 col-lg-9 mb-2">+ <div className="l-filter-col col-sm-7 col-md-8 col-lg-9 mb-2"><Field><IdeaFilteractiveFilter={this.state.filter}@@ -124,7 +124,7 @@ export class IdeasContainer extends React.Component<IdeasContainerProps, IdeasCo</Field></div>)}- <div className={!this.state.query ? `col-sm-5 col-md-4 col-lg-3 mb-2` : "col-sm-12 mb-2"}>+ <div className={!this.state.query ? `l-search-col col-sm-5 col-md-4 col-lg-3 mb-2` : "col-sm-12 mb-2"}><Inputfield="query"icon={this.state.query ? "cancel" : "search"}