From dff78ed962e8623c9540ab3473a1b357a0bd133c Mon Sep 17 00:00:00 2001 From: zombieFox Date: Wed, 11 Sep 2019 18:48:58 +0100 Subject: [PATCH] [bug] fix tile control border radius on top orientation --- package.json | 2 +- src/css/link.css | 12 ++++++++++-- src/js/version.js | 2 +- src/manifest.json | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5c1493f4..47b30088 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nighttab", - "version": "3.82.0", + "version": "3.82.1", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.", "main": "index.js", "scripts": { diff --git a/src/css/link.css b/src/css/link.css index ea334ead..ac15e2ff 100755 --- a/src/css/link.css +++ b/src/css/link.css @@ -337,11 +337,19 @@ color: rgb(var(--theme-white)); } -.link-control-item:first-child { +.is-link-orientation-top .link-control-item:first-child { + border-radius: var(--theme-radius) 0 0 0; +} + +.is-link-orientation-top .link-control-item:last-child { + border-radius: 0 var(--theme-radius) 0 0 +} + +.is-link-orientation-bottom .link-control-item:first-child { border-radius: 0 0 0 var(--theme-radius); } -.link-control-item:last-child { +.is-link-orientation-bottom .link-control-item:last-child { border-radius: 0 0 var(--theme-radius) 0 } diff --git a/src/js/version.js b/src/js/version.js index 4dbd821c..56dccb50 100644 --- a/src/js/version.js +++ b/src/js/version.js @@ -1,6 +1,6 @@ var version = (function() { - var current = "3.82.0"; + var current = "3.82.1"; var compare = function(a, b) { var pa = a.split("."); diff --git a/src/manifest.json b/src/manifest.json index 66497e94..57e50317 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "name": "nightTab", "short_name": "nightTab", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.", - "version": "3.82.0", + "version": "3.82.1", "manifest_version": 2, "chrome_url_overrides": { "newtab": "index.html"