Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
d1285b91
Commit
d1285b91
authored
Oct 21, 2020
by
Karishma Chadha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some more responsiveness fixes for intermediate size
parent
ed29a391
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
12 deletions
+41
-12
src/views/annual-report/annual-report.jsx
src/views/annual-report/annual-report.jsx
+1
-1
src/views/annual-report/annual-report.scss
src/views/annual-report/annual-report.scss
+40
-11
static/images/annual-report/message/hero-image.png
static/images/annual-report/message/hero-image.png
+0
-0
No files found.
src/views/annual-report/annual-report.jsx
View file @
d1285b91
...
...
@@ -289,7 +289,7 @@ class AnnualReport extends React.Component {
<
FormattedMessage
id=
"annualReport.mastheadTitle"
/>
</
h1
>
</
div
>
<
img
src=
"/images/annual-report/message/hero-image.
sv
g"
/>
<
img
src=
"/images/annual-report/message/hero-image.
pn
g"
/>
</
FlexRow
>
<
MediaQuery
minWidth=
{
frameless
.
desktop
}
>
<
img
...
...
src/views/annual-report/annual-report.scss
View file @
d1285b91
...
...
@@ -88,31 +88,46 @@ p {
font-weight
:
bold
;
}
.masthead-content
{
max-width
:
440px
;
text-align
:
left
;
}
@media
#{
$big
}
{
.masthead-content
{
max-width
:
440px
;
text-align
:
left
;
}
@media
#{
$intermediate-and-smaller
}
{
img
{
width
:
75%
;
max-width
:
760px
;
}
}
@media
#{
$intermediate-and-smaller
}
{
flex-direction
:
column
;
align-items
:
center
;
.masthead-year
{
text-align
:
center
;
}
}
@media
#{
$medium-and-smaller
}
{
.masthead-content
{
text-align
:
center
;
}
}
@media
#{
$intermediate
}
{
.masthead-content
,
img
{
max-width
:
620px
;
}
}
@media
#{
$medium
}
{
.masthead-content
,
img
{
max-width
:
460px
;
}
}
@media
#{
$small
}
{
.masthead-content
{
.masthead-content
,
img
{
max-width
:
300px
;
}
}
}
}
...
...
@@ -1045,7 +1060,7 @@ p {
align-items
:
flex-start
;
text-align
:
left
;
@media
#{
$
medium
-and-smaller
}
{
@media
#{
$
intermediate
-and-smaller
}
{
flex-direction
:
column
;
align-items
:
center
;
}
...
...
@@ -1058,6 +1073,10 @@ p {
@media
#{
$medium-and-smaller
}
{
margin
:
0px
0px
20px
0px
;
}
@media
#{
$intermediate
}
{
width
:
620px
;
}
@media
#{
$medium
}
{
width
:
460px
;
...
...
@@ -1073,6 +1092,10 @@ p {
align-self
:
center
;
max-width
:
780px
;
@media
#{
$intermediate
}
{
width
:
620px
;
}
@media
#{
$medium
}
{
width
:
460px
;
}
...
...
@@ -1310,6 +1333,12 @@ p {
flex-direction
:
column
;
align-items
:
center
;
@media
#{
$intermediate
}
{
img
{
max-width
:
300px
;
}
}
@media
#{
$small
}
{
img
{
max-width
:
300px
;
...
...
static/images/annual-report/message/hero-image.png
0 → 100644
View file @
d1285b91
1.26 MB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment