diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-11 19:38:17 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-11 19:38:17 +0100 |
commit | 45e0d6697c107d77dce73d8e354867dc1959741d (patch) | |
tree | 6acff1e8fdc59ed396a3da4439461d4a475ee8b5 /client/src/sass/application.scss | |
parent | 111fdc267b36201cf1be1fdf91017005102b4a5e (diff) | |
download | PeerTube-45e0d6697c107d77dce73d8e354867dc1959741d.tar.gz PeerTube-45e0d6697c107d77dce73d8e354867dc1959741d.tar.zst PeerTube-45e0d6697c107d77dce73d8e354867dc1959741d.zip |
Properly scroll to anchors in links, especially in admin config
Diffstat (limited to 'client/src/sass/application.scss')
-rw-r--r-- | client/src/sass/application.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index f76a82243..89957704b 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -246,6 +246,11 @@ table { | |||
246 | } | 246 | } |
247 | } | 247 | } |
248 | 248 | ||
249 | .anchor { | ||
250 | position: relative; | ||
251 | top: #{-($header-height + 20px)}; | ||
252 | } | ||
253 | |||
249 | @media screen and (max-width: #{map-get($grid-breakpoints, xxl)}) { | 254 | @media screen and (max-width: #{map-get($grid-breakpoints, xxl)}) { |
250 | .main-col { | 255 | .main-col { |
251 | &.expanded { | 256 | &.expanded { |