Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/files_sharing/css/public.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ thead {

// hide the download entry on the menu
// on public share when NOT on mobile
@media only screen and (min-width: $mobile_breakpoint + 1) {
@media only screen and (min-width: $breakpoint-mobile + 1) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

#body-public {
.header-right {
#header-actions-menu {
Expand Down
9 changes: 6 additions & 3 deletions tests/acceptance/features/bootstrap/PublicShareContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,14 @@ public function iSeeThatTheShareMenuIsShown() {
// download item should not be shown in the menu (although it will be in
// the DOM).
PHPUnit_Framework_Assert::assertFalse(
$this->actor->find(self::downloadItemInShareMenu())->isVisible());
$this->actor->find(self::downloadItemInShareMenu())->isVisible(),
"Download item in share menu is visible");
PHPUnit_Framework_Assert::assertTrue(
$this->actor->find(self::directLinkItemInShareMenu())->isVisible());
$this->actor->find(self::directLinkItemInShareMenu())->isVisible(),
"Direct link item in share menu is not visible");
PHPUnit_Framework_Assert::assertTrue(
$this->actor->find(self::saveItemInShareMenu())->isVisible());
$this->actor->find(self::saveItemInShareMenu())->isVisible(),
"Save item in share menu is not visible");
}

/**
Expand Down