Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wotwizard-ui
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
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
clients
wotwizard-ui
Commits
7aee9274
Commit
7aee9274
authored
3 years ago
by
Pierre-Jean CHANCELLIER
Browse files
Options
Downloads
Patches
Plain Diff
improve responsiveness
parent
62d5db8c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
components/member/Card.vue
+21
-14
21 additions, 14 deletions
components/member/Card.vue
components/navigation/Breadcrumb.vue
+1
-1
1 addition, 1 deletion
components/navigation/Breadcrumb.vue
layouts/default.vue
+4
-1
4 additions, 1 deletion
layouts/default.vue
with
26 additions
and
16 deletions
components/member/Card.vue
+
21
−
14
View file @
7aee9274
<
template
>
<div
class=
"card member"
>
<button
id=
"favori"
class=
"btn btn-light position-absolute"
:class=
"
{
add: !$favourites.list.includes(hash.uid),
remove: $favourites.list.includes(hash.uid)
}"
@click="$favourites.toggleFavourite(hash.uid, $event)">
</button>
<div
class=
"card-body"
>
<h2
class=
"card-title text-center mb-4"
>
{{
hash
.
uid
}}
<BadgeStatus
:membre=
"hash"
/>
</h2>
<div
class=
"uid d-flex align-items-center justify-content-between mb-4"
>
<h2
class=
"card-title text-center"
>
{{
hash
.
uid
}}
<BadgeStatus
:membre=
"hash"
/>
</h2>
<button
id=
"favori"
class=
"btn btn-light"
:class=
"
{
add: !$favourites.list.includes(hash.uid),
remove: $favourites.list.includes(hash.uid)
}"
@click="$favourites.toggleFavourite(hash.uid, $event)">
</button>
</div>
<BtnClipboard
:textContent=
"hash.pubkey"
/>
<div
class=
"table-responsive"
>
<table
...
...
@@ -141,9 +143,14 @@ export default {
</
script
>
<
style
lang=
"scss"
>
.uid
{
flex-direction
:
column
;
@media
(
min-width
:
576px
)
{
flex-direction
:
row
;
}
}
#favori
{
top
:
1
.25rem
;
left
:
1
.25rem
;
background-color
:
var
(
--
light
);
background-size
:
75%
;
background-repeat
:
no-repeat
;
...
...
This diff is collapsed.
Click to expand it.
components/navigation/Breadcrumb.vue
+
1
−
1
View file @
7aee9274
<
template
>
<nav
aria-label=
"Fil d'Ariane"
class=
"breadcrumb-wrapper rounded"
>
<ol
class=
"breadcrumb m-0 p-0"
>
<ol
class=
"breadcrumb m-0 p-0
d-none d-sm-flex
"
>
<li
class=
"breadcrumb-item"
:class=
"
{ active: item.active }"
...
...
This diff is collapsed.
Click to expand it.
layouts/default.vue
+
4
−
1
View file @
7aee9274
...
...
@@ -70,10 +70,13 @@ export default {
transition
:
margin
0
.5s
ease-in-out
;
}
main
{
--paddingTop
:
12
5px
;
--paddingTop
:
8
5px
;
padding-top
:
var
(
--
paddingTop
);
position
:
relative
;
@media
(
min-width
:
576px
)
{
--paddingTop
:
115px
;
}
@media
(
min-width
:
768px
)
{
--paddingTop
:
85px
;
}
...
...
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