diff options
author | tpart <tpart120@proton.me> | 2024-04-29 20:02:17 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-04-29 20:02:17 +0200 |
commit | 9b6d0edb37b9baf4eab4ef05f57cce2e3e761dc1 (patch) | |
tree | 3cec8f11b9c73a865a3c00d28fe60fa0e4bdec79 | |
parent | e8a0084d2890ca3bdc82a4a7d734e7f291d8255d (diff) | |
download | keks-meet-9b6d0edb37b9baf4eab4ef05f57cce2e3e761dc1.tar keks-meet-9b6d0edb37b9baf4eab4ef05f57cce2e3e761dc1.tar.bz2 keks-meet-9b6d0edb37b9baf4eab4ef05f57cce2e3e761dc1.tar.zst |
Clean up css
-rw-r--r-- | client-web/source/resource/track.ts | 4 | ||||
-rw-r--r-- | client-web/style/master.sass | 1 | ||||
-rw-r--r-- | client-web/style/room.sass | 8 |
3 files changed, 6 insertions, 7 deletions
diff --git a/client-web/source/resource/track.ts b/client-web/source/resource/track.ts index 878540b..6456c1e 100644 --- a/client-web/source/resource/track.ts +++ b/client-web/source/resource/track.ts @@ -45,7 +45,7 @@ export const resource_track: ResourceHandlerDecl = { this.el.removeChild(enable_button) if (!(stream instanceof MediaStream)) return console.warn("expected mediastream"); this.el.append(e("button", { - class: ["topright", "abort"], + class: ["topleft", "abort"], onclick: (self) => { disable() this.el.appendChild(enable_button) @@ -66,7 +66,7 @@ export function new_local_track(info: ProvideInfo, stream: MediaStream, ...extra let room: Room; const el = e("div", { class: `media-${stream.getVideoTracks().length > 0 ? "video" : "audio"}` }, - e("button", { class: ["abort", "topright"], onclick: () => destroy() }, PO.stop_sharing), + e("button", { class: ["abort", "topleft"], onclick: () => destroy() }, PO.stop_sharing), ...extra_controls ); diff --git a/client-web/style/master.sass b/client-web/style/master.sass index 49ef848..d6caab8 100644 --- a/client-web/style/master.sass +++ b/client-web/style/master.sass @@ -100,7 +100,6 @@ input:focus outline: none button.abort - left: 0px background-color: #9a2020 .side-ui-control input diff --git a/client-web/style/room.sass b/client-web/style/room.sass index 57f3f98..7c530ee 100644 --- a/client-web/style/room.sass +++ b/client-web/style/room.sass @@ -87,14 +87,14 @@ left: 50% transform: translate(-50%,-50%) box-shadow: 0px 0px 50px 0px rgb(0,0,0) + button.topleft + position: absolute + top: 0px + left: 0px button.topright position: absolute top: 0px right: 0px - button.bottomleft - position: absolute - bottom: 0px - left: 0px transition: filter 0.5s flex: 1 1 auto background-color: black |