From be8c9fd3be988648065c43cb3e6566e213529d64 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 2 Jun 2024 17:21:36 -0500 Subject: tweak height to eliminate scrollbar --- src/web/src/components/App.css | 1 + 1 file changed, 1 insertion(+) (limited to 'src/web') diff --git a/src/web/src/components/App.css b/src/web/src/components/App.css index 1de44557..e98a4f84 100644 --- a/src/web/src/components/App.css +++ b/src/web/src/components/App.css @@ -121,6 +121,7 @@ body { } .pushable > .pusher.app-content { + min-height: calc(100% - 71px); background: var(--background-color); } -- cgit v1.2.3 From d4e4e458740978647058e25c62249f567d195c56 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 2 Jun 2024 17:21:46 -0500 Subject: tweak bottom margin --- src/web/src/components/Rooms/Rooms.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web') diff --git a/src/web/src/components/Rooms/Rooms.css b/src/web/src/components/Rooms/Rooms.css index 961d7e00..e001d6ea 100644 --- a/src/web/src/components/Rooms/Rooms.css +++ b/src/web/src/components/Rooms/Rooms.css @@ -4,7 +4,7 @@ max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; - margin-bottom: 17px; + margin-bottom: 16px; } .rooms-segment { -- cgit v1.2.3 From 04a5ade30af2035765ea812250811db24785e7ba Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 2 Jun 2024 17:25:04 -0500 Subject: 16 instead of 17 for some reason? doesn't matter just do it --- src/web/src/components/App.css | 6 +++--- src/web/src/components/Browse/Browse.css | 2 +- src/web/src/components/Chat/Chat.css | 2 +- src/web/src/components/Search/Search.css | 2 +- src/web/src/components/System/System.css | 2 +- src/web/src/components/Users/Users.css | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/web') diff --git a/src/web/src/components/App.css b/src/web/src/components/App.css index e98a4f84..054fe1c4 100644 --- a/src/web/src/components/App.css +++ b/src/web/src/components/App.css @@ -140,7 +140,7 @@ body { } .result-card:last-child, .transfer-card:last-child, .search-list-card:last-child { - margin-bottom: 17px !important; + margin-bottom: 16px !important; } .result-meta { @@ -187,7 +187,7 @@ body { .showmore-button { padding: 20px !important; max-width: 1200px !important; - margin-bottom: 17px !important; + margin-bottom: 16px !important; } .login-button { @@ -246,7 +246,7 @@ body { } .view:last-child { - margin-bottom: 17px; + margin-bottom: 16px; } /* https://github.com/Semantic-Org/Semantic-UI-React/issues/3133#issuecomment-418766748 */ diff --git a/src/web/src/components/Browse/Browse.css b/src/web/src/components/Browse/Browse.css index d7d4ef8e..b7363592 100644 --- a/src/web/src/components/Browse/Browse.css +++ b/src/web/src/components/Browse/Browse.css @@ -71,7 +71,7 @@ } .browse-container:last-child { - margin-bottom: 17px; + margin-bottom: 16px; } .browse-meta { diff --git a/src/web/src/components/Chat/Chat.css b/src/web/src/components/Chat/Chat.css index 92aea58c..15e4b7b6 100644 --- a/src/web/src/components/Chat/Chat.css +++ b/src/web/src/components/Chat/Chat.css @@ -25,7 +25,7 @@ max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; - margin-bottom: 17px; + margin-bottom: 16px; } .chat-segment { diff --git a/src/web/src/components/Search/Search.css b/src/web/src/components/Search/Search.css index 817d87b9..a73542f4 100644 --- a/src/web/src/components/Search/Search.css +++ b/src/web/src/components/Search/Search.css @@ -7,7 +7,7 @@ } .search-container:last-child { - margin-bottom: 17px; + margin-bottom: 16px; } .search-segment { diff --git a/src/web/src/components/System/System.css b/src/web/src/components/System/System.css index 80642687..ded0449a 100644 --- a/src/web/src/components/System/System.css +++ b/src/web/src/components/System/System.css @@ -5,7 +5,7 @@ margin-left: auto !important; margin-right: auto !important; margin-top: 15px !important; - margin-bottom: 17px; + margin-bottom: 16px; } .logs-table { diff --git a/src/web/src/components/Users/Users.css b/src/web/src/components/Users/Users.css index c9244834..1335a1c7 100644 --- a/src/web/src/components/Users/Users.css +++ b/src/web/src/components/Users/Users.css @@ -7,7 +7,7 @@ } .users-container:last-child { - margin-bottom: 17px; + margin-bottom: 16px; } .users-segment { -- cgit v1.2.3 From 1eea36c36b6c6c0f6c93a449d4a01168dbee9684 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 2 Jun 2024 17:29:21 -0500 Subject: eslintignore css files --- src/web/.eslintignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/web/.eslintignore (limited to 'src/web') diff --git a/src/web/.eslintignore b/src/web/.eslintignore new file mode 100644 index 00000000..23188627 --- /dev/null +++ b/src/web/.eslintignore @@ -0,0 +1 @@ +*.css \ No newline at end of file -- cgit v1.2.3 From 8bc844df40f80d2c20df6f6033eed87f5a48672d Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 2 Jun 2024 17:45:34 -0500 Subject: fix active check --- src/web/src/components/Rooms/Rooms.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web') diff --git a/src/web/src/components/Rooms/Rooms.jsx b/src/web/src/components/Rooms/Rooms.jsx index 002ecde3..54e67d3c 100644 --- a/src/web/src/components/Rooms/Rooms.jsx +++ b/src/web/src/components/Rooms/Rooms.jsx @@ -195,7 +195,7 @@ class Rooms extends Component { onRoomChange={(name) => this.selectRoom(name)} /> - {active == null ? ( + {active?.length === 0 ? (