Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-26 02:40:19 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-28 11:09:39 +0300
commit7dec802cfac990d429b445ab193aa92c7cd6c260 (patch)
treeee5bb6625e95514ae10485d33bae9176e3726550 /css
parent4425b04e7ce380eb6403e8f612722d509c63ad06 (diff)
Remove no longer needed parent element of "Copy link" button
The "share-link-options" element acts as a spacer to move the room moderation menu button to the right. However, given that the call button width is limited to the 50% of its parent flex element and that element has the full width of the sidebar the same effect can be achieved by setting "margin-left: auto" on the room moderation button. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css')
-rw-r--r--css/style.scss14
1 files changed, 4 insertions, 10 deletions
diff --git a/css/style.scss b/css/style.scss
index 054db3a18..d747b5537 100644
--- a/css/style.scss
+++ b/css/style.scss
@@ -939,10 +939,6 @@ body:not(#body-public) .participantWithList > li > span:not(.currentUser):not(.g
display: flex;
align-items: center;
- .share-link-options {
- flex-grow: 1;
- }
-
.call-button {
flex-grow: 0;
flex-basis: 50%;
@@ -975,9 +971,12 @@ body:not(#body-public) .participantWithList > li > span:not(.currentUser):not(.g
.room-moderation-button {
/* Needed for proper positioning of the menu. */
position: relative;
+
+ /* Position the button to the right end of its flex parent. */
+ margin-left: auto;
}
- .share-link-options .button,
+ .clipboard-button .button,
.room-moderation-button .button {
cursor: pointer;
width: 44px;
@@ -995,11 +994,6 @@ body:not(#body-public) .participantWithList > li > span:not(.currentUser):not(.g
}
}
- .share-link-options {
- display: flex;
- align-items: center;
- }
-
.room-moderation-button .menu {
/* Values copied from apps.scss in server. */
$popoveritem-height: 44px;