Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
backup
Drip
Commits
34e0866f
Commit
34e0866f
authored
6 years ago
by
Julia Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Adjust view boxes to center icons
parent
e8c38efb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/cycle-day/cycle-day-overview.js
+8
-8
8 additions, 8 deletions
components/cycle-day/cycle-day-overview.js
with
8 additions
and
8 deletions
components/cycle-day/cycle-day-overview.js
+
8
−
8
View file @
34e0866f
...
...
@@ -77,7 +77,7 @@ export default class CycleDayOverView extends Component {
data
=
{
getLabel
(
'
bleeding
'
,
cycleDay
.
bleeding
)}
disabled
=
{
dateInFuture
}
>
<
BleedingIcon
viewBox
=
'
0 0
45
0 4
5
0
'
/>
<
BleedingIcon
viewBox
=
'
1
0
1
0
32
0 4
0
0
'
/>
<
/SymptomBox
>
<
SymptomBox
title
=
'
Temperature
'
...
...
@@ -85,7 +85,7 @@ export default class CycleDayOverView extends Component {
data
=
{
getLabel
(
'
temperature
'
,
cycleDay
.
temperature
)}
disabled
=
{
dateInFuture
}
>
<
TemperatureIcon
viewBox
=
'
0 0
45
0 4
5
0
'
/>
<
TemperatureIcon
viewBox
=
'
1
0
1
0
32
0 4
0
0
'
/>
<
/SymptomBox
>
<
SymptomBox
title
=
'
Mucus
'
...
...
@@ -93,7 +93,7 @@ export default class CycleDayOverView extends Component {
data
=
{
getLabel
(
'
mucus
'
,
cycleDay
.
mucus
)}
disabled
=
{
dateInFuture
}
>
<
MucusIcon
viewBox
=
'
0 0
45
0 4
5
0
'
/>
<
MucusIcon
viewBox
=
'
1
0
1
0
32
0 4
0
0
'
/>
<
/SymptomBox
>
<
SymptomBox
title
=
'
Cervix
'
...
...
@@ -101,7 +101,7 @@ export default class CycleDayOverView extends Component {
data
=
{
getLabel
(
'
cervix
'
,
cycleDay
.
cervix
)}
disabled
=
{
dateInFuture
}
>
<
CervixIcon
viewBox
=
'
0 0
45
0 4
5
0
'
/>
<
CervixIcon
viewBox
=
'
1
0
1
0
32
0 4
4
0
'
/>
<
/SymptomBox
>
<
SymptomBox
title
=
'
Desire
'
...
...
@@ -109,7 +109,7 @@ export default class CycleDayOverView extends Component {
data
=
{
getLabel
(
'
desire
'
,
cycleDay
.
desire
)}
disabled
=
{
dateInFuture
}
>
<
DesireIcon
viewBox
=
'
0 0
450 45
0
'
/>
<
DesireIcon
viewBox
=
'
1
0
1
0
320 38
0
'
/>
<
/SymptomBox
>
<
SymptomBox
title
=
'
Sex
'
...
...
@@ -117,7 +117,7 @@ export default class CycleDayOverView extends Component {
data
=
{
getLabel
(
'
sex
'
,
cycleDay
.
sex
)}
disabled
=
{
dateInFuture
}
>
<
SexIcon
viewBox
=
'
0 0
45
0 4
5
0
'
/>
<
SexIcon
viewBox
=
'
1
0
1
0
32
0 4
0
0
'
/>
<
/SymptomBox
>
<
SymptomBox
title
=
'
Pain
'
...
...
@@ -125,14 +125,14 @@ export default class CycleDayOverView extends Component {
data
=
{
getLabel
(
'
pain
'
,
cycleDay
.
pain
)}
disabled
=
{
dateInFuture
}
>
<
PainIcon
viewBox
=
'
0 0
45
0 4
5
0
'
/>
<
PainIcon
viewBox
=
'
1
0
1
0
30
0 4
0
0
'
/>
<
/SymptomBox
>
<
SymptomBox
title
=
'
Note
'
onPress
=
{()
=>
this
.
navigate
(
'
NoteEditView
'
)}
data
=
{
getLabel
(
'
note
'
,
cycleDay
.
note
)}
>
<
NoteIcon
viewBox
=
'
0 0
45
0 4
5
0
'
/>
<
NoteIcon
viewBox
=
'
1
0
1
0
27
0 4
0
0
'
/>
<
/SymptomBox
>
{
/* this is just to make the last row adhere to the grid
(and) because there are no pseudo properties in RN */
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment