Skip to content

Commit

Permalink
Invitations: fix tablet view
Browse files Browse the repository at this point in the history
* fix mobile view.
* add status icon.
* add extra space for user full name.
* closes: #1595
  • Loading branch information
Pineirin authored and kpsherva committed Jun 7, 2022
1 parent bffd87a commit 484ba92
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}

.auto-column-grid {
.ui.button {
.ui.button.dropdown {
&:last-child {
margin-right: 0;
}
Expand All @@ -55,10 +55,12 @@
padding: 0;
}

.ui.button.fluid-mobile {
@media all and (max-width: @largestMobileScreen) {
width: 100%;
min-width: 0em;
display: block;
.ui.button{
&.fluid-responsive {
@media all and (max-width: @largestTabletScreen) {
width: 100%;
min-width: 7em;
display: block;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,15 @@
min-width: 10em;
}

.ui.dropdown.fluid-mobile {
@media all and (max-width: @largestTabletScreen) {
width: 100%;
min-width: 0em;
display: block;

& > .dropdown.icon {
float: right;
.ui.dropdown {
&.fluid-responsive {
@media all and (max-width: @largestTabletScreen) {
width: 100%;
display: block;

& > .dropdown.icon {
float: right;
}
}
}
}
Expand Down
1 change: 0 additions & 1 deletion invenio_app_rdm/users_ui/views/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def communities():
url = current_user_resources.users_service.links_item_tpl.expand(
current_user
)['avatar']
print("HERE")
return render_template(
"invenio_app_rdm/users/communities.html",
searchbar_config=dict(searchUrl=get_search_url()),
Expand Down

0 comments on commit 484ba92

Please sign in to comment.