Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Fix UI on Mobile (#103)

Guilherme Oenning774792b9282e
diff --git a/public/components/ShowIdeaResponse.tsx b/public/components/ShowIdeaResponse.tsx
index 09880dfed..9d1b1f663 100644
--- a/public/components/ShowIdeaResponse.tsx
+++ b/public/components/ShowIdeaResponse.tsx
@@ -12,7 +12,7 @@ export const ShowIdeaResponse = (props: IdeaResponseProps): JSX.Element => {
if (props.response && status.show) {
return <div className="fdr-response item ui segment">
- <span className={`ui label ${status.color}`}>{ status.title }</span>
+ <span className={`ui mini label ${status.color}`}>{ status.title }</span>
<Gravatar name={props.response.user.name} hash={props.response.user.gravatar}/> { props.response.user.name }
<span className="info">
<Moment date={props.response.respondedOn} />
diff --git a/public/pages/home/SiteHomePage.scss b/public/pages/home/SiteHomePage.scss
index da6dcb09f..6b030fd4d 100644
--- a/public/pages/home/SiteHomePage.scss
+++ b/public/pages/home/SiteHomePage.scss
@@ -9,6 +9,10 @@
.fdr-idea-list {
> .item {
min-height: 105px;
+
+ .header {
+ max-width: 85%;
+ }
}
> .item > .content {
diff --git a/public/styles/main.scss b/public/styles/main.scss
index 2c377525e..2d31cbcd1 100644
--- a/public/styles/main.scss
+++ b/public/styles/main.scss
@@ -58,7 +58,7 @@ code {
.comment-input {
display: inline-block;
- min-width: 500px;
+ width: 90%;
}
.ui.comments {
@@ -68,7 +68,7 @@ code {
}
.comment > .content {
display: inline-block;
- max-width: 600px;
+ max-width: 90%;
}
}
@@ -109,14 +109,15 @@ code {
padding: 10px 5px !important;
}
-.fdr-response {
+.ui.segment.fdr-response {
+ padding: 0.5em;
+
.content {
margin-top: 10px;
}
.label {
- line-height: 28px;
- padding: 0px 1em;
+ text-transform: uppercase;
}
.fdr-avatar {