From 9c1639d7d7d9b1b717b1af5f6b91c14f863eb3e4 Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Wed, 29 Nov 2023 01:27:48 +0100 Subject: [PATCH] [web] Simplify CSS styling --- web-src/index.html | 2 +- web-src/src/mystyles.scss | 9 ++------- web-src/src/pages/PageAbout.vue | 2 +- web-src/src/pages/PageAlbum.vue | 2 +- web-src/src/pages/PageAlbumSpotify.vue | 2 +- web-src/src/pages/PageArtist.vue | 2 +- web-src/src/pages/PageArtistSpotify.vue | 2 +- web-src/src/pages/PageArtistTracks.vue | 2 +- web-src/src/pages/PageAudiobooksAlbum.vue | 2 +- web-src/src/pages/PageAudiobooksArtist.vue | 2 +- web-src/src/pages/PageComposerAlbums.vue | 2 +- web-src/src/pages/PageComposerTracks.vue | 2 +- web-src/src/pages/PageFiles.vue | 2 +- web-src/src/pages/PageGenreAlbums.vue | 2 +- web-src/src/pages/PageGenreTracks.vue | 2 +- web-src/src/pages/PagePlaylistFolder.vue | 2 +- web-src/src/pages/PagePlaylistTracks.vue | 2 +- web-src/src/pages/PagePlaylistTracksSpotify.vue | 2 +- web-src/src/pages/PagePodcast.vue | 2 +- web-src/src/pages/PagePodcasts.vue | 2 +- web-src/src/pages/PageQueue.vue | 2 +- web-src/src/pages/PageRadioStreams.vue | 2 +- web-src/src/pages/PageSearchLibrary.vue | 2 +- web-src/src/pages/PageSearchSpotify.vue | 2 +- 24 files changed, 25 insertions(+), 30 deletions(-) diff --git a/web-src/index.html b/web-src/index.html index 0c14562d..d75acd34 100644 --- a/web-src/index.html +++ b/web-src/index.html @@ -17,7 +17,7 @@ OwnTone - +
diff --git a/web-src/src/mystyles.scss b/web-src/src/mystyles.scss index 76ee8434..55e672f4 100644 --- a/web-src/src/mystyles.scss +++ b/web-src/src/mystyles.scss @@ -72,13 +72,8 @@ a.navbar-item { 0 6px 20px 0 rgba(0, 0, 0, 0.19); } -.fd-page { - margin-top: $navbar-height; - margin-bottom: $navbar-height; - &-with-tabs { - margin-top: calc(2 * $navbar-height) !important; - margin-bottom: $navbar-height; - } +.fd-page-with-tabs { + margin-top: $navbar-height !important; } /* Set minimum height to hide "option" section */ diff --git a/web-src/src/pages/PageAbout.vue b/web-src/src/pages/PageAbout.vue index 32f40ccd..f66c556f 100644 --- a/web-src/src/pages/PageAbout.vue +++ b/web-src/src/pages/PageAbout.vue @@ -1,5 +1,5 @@