Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

fix some styling

goenning3b91b73ef6ae
diff --git a/README.md b/README.md
index 0dce40cbd..3a09f4a87 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@ Step by step:
4) run `docker-compose up -d pgdev` to start a local PostgreSQL database on Docker.
5) run `cp .example.env .env` to create a local Environment configuration file.
6) run `make watch` to start the application.
-7) Navigate to `http://demo.dev.fider.io.com:3000/` and boom! Welcome to your new local Fider development copy!
+7) Navigate to `http://localhost:3000/` and boom! Welcome to your new local Fider development copy!
Change some code, fix some bugs, implement some features and send us your Pull Request!
diff --git a/public/shared/SupportCounter.tsx b/public/shared/SupportCounter.tsx
index 542a329eb..4be8f4886 100644
--- a/public/shared/SupportCounter.tsx
+++ b/public/shared/SupportCounter.tsx
@@ -61,7 +61,7 @@ export class SupportCounter extends React.Component<SupportCounterProps, Support
}
public render() {
- const support = <div className="support-button ui mini violet inverted animated button"
+ const support = <div className="ui mini violet inverted animated button"
onClick={async () => await this.supportOrUndo()}>
<div className="visible content">Want</div>
<div className="hidden content">
@@ -69,7 +69,7 @@ export class SupportCounter extends React.Component<SupportCounterProps, Support
</div>
</div>;
- const undo = <div className="support-button ui mini violet animated button"
+ const undo = <div className="ui mini violet animated button"
onClick={async () => await this.supportOrUndo()}>
<div className="visible content"><i className="heart icon"></i></div>
<div className="hidden content">
@@ -78,7 +78,7 @@ export class SupportCounter extends React.Component<SupportCounterProps, Support
</div>;
return <div>
- <div className="ui small statistics">
+ <div className="support-counter ui small statistics">
<div ref={(e) => { this.elem = e; } } className="statistic">
<div className="value">
{ this.state.total }
diff --git a/public/style/main.scss b/public/style/main.scss
index 05f989b7d..49449e3b1 100644
--- a/public/style/main.scss
+++ b/public/style/main.scss
@@ -14,7 +14,18 @@
margin-left: 20px;
}
-.support-button {
+.support-counter {
+ width: 130px;
+
+ .statistic {
+ margin: 0 auto !important;
+ }
+
+ .button {
+ width: 60px;
+ margin: 0 auto !important;
+ }
+
i.icon {
margin: 0px;
}