Browse Source

update menu position

main
ghost 1 year ago
parent
commit
8e204312e0
  1. 5
      public/asset/default/css/framework.css
  2. 2
      templates/default/user/module.html.twig

5
public/asset/default/css/framework.css

@ -354,6 +354,11 @@ a:visited.background-color-hover-night-light:hover {
padding-right: 24px; padding-right: 24px;
} }
.padding-y-24-px {
padding-top: 24px;
padding-bottom: 24px;
}
.margin-l-4-px { .margin-l-4-px {
margin-left: 4px; margin-left: 4px;
} }

2
templates/default/user/module.html.twig

@ -1,4 +1,4 @@
<div class="padding-y-6-px margin-y-16-px margin-l--48-px position-fixed"> <div class="padding-y-24-px margin-y-16-px margin-l--48-px position-fixed">
{% if route == 'torrent_recent' %} {% if route == 'torrent_recent' %}
<span class="padding-8-px display-block cursor-default" title="{{ 'Home' | trans }}"> <span class="padding-8-px display-block cursor-default" title="{{ 'Home' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" viewBox="0 0 16 16">

Loading…
Cancel
Save