Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Zwordi
funkwhale
Commits
eb775bfc
Commit
eb775bfc
authored
6 years ago
by
Tixie
💨
Committed by
Eliot Berriot
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
See #578: Improved "responsiveness" of embedded player
parent
5a263be9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/changelog.d/578.enhancement
+1
-0
1 addition, 0 deletions
changes/changelog.d/578.enhancement
front/src/EmbedFrame.vue
+66
-1
66 additions, 1 deletion
front/src/EmbedFrame.vue
with
67 additions
and
1 deletion
changes/changelog.d/578.enhancement
+
1
−
0
View file @
eb775bfc
Added twitter:* meta tags to detect tracks and albums players automatically on more sites (#578)
Improved responsiveness of embedded player
\ No newline at end of file
This diff is collapsed.
Click to expand it.
front/src/EmbedFrame.vue
+
66
−
1
View file @
eb775bfc
...
...
@@ -395,6 +395,7 @@ a:hover {
}
section
.controls
{
display
:
flex
;
width
:
100%
;
}
.cover
{
max-width
:
120px
;
...
...
@@ -405,6 +406,9 @@ section.controls {
flex
:
1
;
align-self
:
flex-end
;
}
.player
.plyr
{
min-width
:
inherit
;
}
article
.content
{
flex
:
1
;
display
:
flex
;
...
...
@@ -484,10 +488,16 @@ section .plyr--audio .plyr__controls {
@media
screen
and
(
max-width
:
460px
)
{
article
,
article
.content
{
position
:
relative
;
display
:
block
;
}
.content
header
{
padding-right
:
80px
;
}
.cover.main
{
float
:
right
;
position
:
absolute
;
right
:
0
;
top
:
0
;
img
{
height
:
60px
;
width
:
60px
;
...
...
@@ -496,12 +506,67 @@ section .plyr--audio .plyr__controls {
}
@media
screen
and
(
max-width
:
320px
)
{
.content
header
{
font-size
:
14px
;
}
.content
h3
{
font-size
:
15px
;
}
.logo-wrapper
,
.position-cell
{
display
:
none
;
}
.plyr__volume
{
min-width
:
70px
;
}
.queue
.artist
{
display
:
none
;
}
}
@media
screen
and
(
max-width
:
200px
)
{
.content
header
{
padding-right
:
1em
;
font-size
:
13px
;
}
.content
h3
{
font-size
:
14px
;
}
.cover.main
{
display
:
none
;
}
.plyr__progress
{
display
:
none
;
}
.controls
.plyr__control
,
.player
.plyr__control
{
padding
:
3px
;
}
.queue
td
:last-child
{
display
:
none
;
}
}
@media
screen
and
(
max-width
:
170px
)
{
.plyr__volume
{
min-width
:
inherit
;
}
}
@media
screen
and
(
max-height
:
180px
)
{
.queue-wrapper
{
display
:
none
;
}
article
.content
{
display
:
flex
;
align-items
:
flex-start
;
width
:
100%
;
height
:
100vh
;
}
article
.content
header
{
flex-grow
:
1
;
}
}
// themes
.dark
{
...
...
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