Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PortalMEC-React
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
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
PortalMEC
PortalMEC-React
Commits
c7052f0d
Commit
c7052f0d
authored
4 years ago
by
Lucas Eduardo Schoenfelder
Browse files
Options
Downloads
Patches
Plain Diff
responsiveness fix
parent
965df58c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!57
Merge of develop into master
,
!56
Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...
,
!24
Tela recurso
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Components/ResourcePageComponents/Sobre.js
+11
-5
11 additions, 5 deletions
src/Components/ResourcePageComponents/Sobre.js
with
11 additions
and
5 deletions
src/Components/ResourcePageComponents/Sobre.js
+
11
−
5
View file @
c7052f0d
...
...
@@ -76,7 +76,7 @@ export default function Sobre (props) {
/
>
))
}
if
(
props
.
mimeType
){
aux
.
push
(
<
AdditionalInfoItem
icon
=
{
<
InsertDriveFileIcon
/>
}
...
...
@@ -133,10 +133,12 @@ export default function Sobre (props) {
setAdditionalInfo
(
aux
)
},
[])
let
windowWidth
=
window
.
innerWidth
return
(
<
Grid
container
style
=
{{
paddingRight
:
"
15px
"
,
paddingLeft
:
"
15px
"
}}
>
<
Grid
item
xs
=
{
9
}
style
=
{{
paddingRight
:
"
15px
"
}}
>
<
Grid
item
xs
=
{
windowWidth
>
990
?
9
:
12
}
style
=
{{
paddingRight
:
"
15px
"
}}
>
<
Collapse
in
=
{
collapsed
}
collapsedHeight
=
{
338
}
>
<
SobreDiv
>
<
div
className
=
"
titulo
"
>
...
...
@@ -173,7 +175,7 @@ export default function Sobre (props) {
<
/Collapse
>
<
/Grid
>
<
Grid
item
xs
=
{
3
}
>
<
Grid
item
xs
=
{
windowWidth
>
990
?
3
:
12
}
>
<
MetasObjeto
>
<
div
className
=
"
enviado-por
"
>
Enviado
por
:
...
...
@@ -270,6 +272,7 @@ const SobreDiv = styled.div`
display : flex;
flex-direction : row;
align-items : center;
font-size : .8em;
span {
text-transform : capitalize;
...
...
@@ -281,7 +284,7 @@ const SobreDiv = styled.div`
line-height : 18px;
margin-bottom : 3px;
color : #666;
font-size : .8em
;
font-size : .8em
}
}
...
...
@@ -342,7 +345,6 @@ const SobreDiv = styled.div`
const
MetasObjeto
=
styled
.
div
`
margin : 20px 0;
border-left : 1px solid #e5e5e5;
-webkit-box-orient : vertical;
-webkit-box-direction : normal;
-ms-flex-direction : column;
...
...
@@ -353,6 +355,10 @@ const MetasObjeto = styled.div`
padding : 20px;
text-align : center;
@media screen and (min-width : 990px) {
border-left : 1px solid #e5e5e5;
}
.span-st {
position : relative;
font-size : 14px;
...
...
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