diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-07 11:05:23 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-07 11:05:23 +0100 |
commit | d9bd6f325392316f6b2d83d0b712d473d8510fda (patch) | |
tree | 28792b01cb82edd8750e207e687f19a39456db17 /apps | |
parent | c401a8cf2653512c9babfabca4a5d24293e8e7be (diff) | |
download | nextcloud-server-d9bd6f325392316f6b2d83d0b712d473d8510fda.tar.gz nextcloud-server-d9bd6f325392316f6b2d83d0b712d473d8510fda.zip |
Fixed public template
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/css/public.scss | 9 | ||||
-rw-r--r-- | apps/files_sharing/lib/Template/LinkMenuAction.php | 8 |
2 files changed, 6 insertions, 11 deletions
diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss index 1e9dec87fad..e040d449129 100644 --- a/apps/files_sharing/css/public.scss +++ b/apps/files_sharing/css/public.scss @@ -88,15 +88,6 @@ thead { opacity: .5; } -#directLink-container { - flex-wrap: wrap; -} - -#directLink { - margin-left: 30px; - flex-basis: 100%; -} - /* header buttons */ #details { display: inline-flex; diff --git a/apps/files_sharing/lib/Template/LinkMenuAction.php b/apps/files_sharing/lib/Template/LinkMenuAction.php index 2fdf83e7026..519bc553228 100644 --- a/apps/files_sharing/lib/Template/LinkMenuAction.php +++ b/apps/files_sharing/lib/Template/LinkMenuAction.php @@ -47,8 +47,12 @@ class LinkMenuAction extends SimpleMenuAction { '<a id="directLink-container">' . '<span class="icon ' . Util::sanitizeHTML($this->getIcon()) . '"></span>' . '<label for="directLink">' . Util::sanitizeHTML($this->getLabel()) . '</label>' . - '<input id="directLink" type="text" readonly="" value="' . Util::sanitizeHTML($this->getLink()) . '">' . '</a>' . + '</li>' . + '<li>' . + '<span class="menuitem">' . + '<input id="directLink" type="text" readonly="" value="' . Util::sanitizeHTML($this->getLink()) . '">' . + '</span>' . '</li>'; } -}
\ No newline at end of file +} |