From 6ee5f8c06dc099a0cc576a3789dcc7b335b44a06 Mon Sep 17 00:00:00 2001 From: MattIPv4 Date: Tue, 19 Nov 2019 15:45:45 +0000 Subject: [PATCH] Remove toggle layout button --- public/partials/index.html | 3 --- resources/js/app.js | 4 ---- resources/scss/_header.scss | 13 ------------- 3 files changed, 20 deletions(-) diff --git a/public/partials/index.html b/public/partials/index.html index bbda2ac..8f68dc4 100644 --- a/public/partials/index.html +++ b/public/partials/index.html @@ -1,7 +1,4 @@
-
- -

NGINX Config

diff --git a/resources/js/app.js b/resources/js/app.js index 669eaa0..f97ac82 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -832,10 +832,6 @@ } }; - $scope.toggleLayoutVisible = function() { - return $window.location.hostname !== 'nginxconfig.io'; - }; - $scope.toggleLayout = function() { if ($scope.layout === 'default') { $scope.layout = 'do'; diff --git a/resources/scss/_header.scss b/resources/scss/_header.scss index c6cee34..e53171b 100644 --- a/resources/scss/_header.scss +++ b/resources/scss/_header.scss @@ -7,7 +7,6 @@ } header { - position: relative; background-color: #000; padding: 0.5rem 0; text-align: center; @@ -15,18 +14,6 @@ header { color: #fff; font-size: 2.2rem; - .layout-toggle { - position: absolute; - right: 10px; - top: 0; - z-index: 100; - opacity: 0.75; - - .btn { - outline: none; - } - } - .container { position: relative; }