Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gin-3399327
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
gin-3399327
Commits
6400c81b
Commit
6400c81b
authored
5 years ago
by
Sascha Eggenberger
Browse files
Options
Downloads
Plain Diff
Merge branch '8.x-1.x' of git.drupal.org:project/gin into 8.x-1.x
parents
78b50f4d
88734e40
No related branches found
Tags
DRUPAL-6--1-0-RC1
Tags containing commit
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist/css/gin.css
+1
-1
1 addition, 1 deletion
dist/css/gin.css
styles/_entity_reference_layout.scss
+27
-12
27 additions, 12 deletions
styles/_entity_reference_layout.scss
styles/_media-library.scss
+8
-6
8 additions, 6 deletions
styles/_media-library.scss
with
36 additions
and
19 deletions
dist/css/gin.css
+
1
−
1
View file @
6400c81b
This diff is collapsed.
Click to expand it.
styles/_entity_reference_layout.scss
+
27
−
12
View file @
6400c81b
...
...
@@ -139,7 +139,7 @@
}
}
.
layout
{
.
paragraph
{
.field--name-field-title
{
font-size
:
1
.5rem
;
font-weight
:
bold
;
...
...
@@ -149,6 +149,10 @@
font-size
:
1
.25rem
;
}
.field--name-field-title
+
.field--name-field-lead
{
margin-top
:
.5rem
;
}
.field--name-field-lead
,
.field--name-field-text
{
line-height
:
1
.5
;
...
...
@@ -163,25 +167,36 @@
}
}
.
paragraph
--type-
-
image
-desktop
,
.paragraph--type--image-mobile
{
.
field
--type-image
{
display
:
inline-block
;
line-height
:
0
;
border
:
2
px
solid
black
;
border
:
1
px
solid
black
;
border-radius
:
4px
;
overflow
:
hidden
;
.field--name-field-variant
,
.field--name-field-show-more
{
display
:
none
;
}
max-height
:
320px
;
}
.
paragraph--type--image-mobile
{
max-width
:
240px
;
max-height
:
420px
;
.
field--name-field-variant
,
.field--name-field-show-more
{
display
:
none
;
}
}
.paragraph--type--image-mobile
{
max-width
:
240px
;
max-height
:
420px
;
}
.paragraph--type--slider
{
.field--name-field-paragraphs
{
display
:
flex
;
>
.field__item
{
margin-top
:
.5rem
;
margin-right
:
.25rem
;
}
}
}
// Modal
.ui-widget-content
{
...
...
This diff is collapsed.
Click to expand it.
styles/_media-library.scss
+
8
−
6
View file @
6400c81b
// Core Media preview image override
.media-library-item--grid
.field--name-thumbnail
img
{
width
:
100%
;
height
:
auto
;
min-width
:
unset
;
min-height
:
unset
;
}
.media-library-views-form
{
.media-library-item--grid
.field--name-thumbnail
img
{
width
:
100%
;
height
:
auto
;
min-width
:
unset
;
min-height
:
unset
;
}
}
\ No newline at end of file
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