diff --git a/.docker/files/base/xorg.conf b/.docker/files/base/xorg.conf index c803041..eab523c 100644 --- a/.docker/files/base/xorg.conf +++ b/.docker/files/base/xorg.conf @@ -56,6 +56,8 @@ Section "Monitor" # 800x600 @ 60.00 Hz (GTF) hsync: 37.32 kHz; pclk: 38.22 MHz Modeline "800x600_60.00" 38.22 800 832 912 1024 600 601 604 622 -HSync +Vsync + # 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz + Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync # 1920x1080 @ 30.00 Hz (GTF) hsync: 32.97 kHz; pclk: 80.18 MHz Modeline "1920x1080_30.00" 80.18 1920 1984 2176 2432 1080 1081 1084 1099 -HSync +Vsync # 1152x648 @ 30.00 Hz (GTF) hsync: 19.80 kHz; pclk: 26.93 MHz @@ -85,4 +87,4 @@ Section "ServerLayout" Screen "dummy_screen" InputDevice "dummy_mouse" InputDevice "dummy_keyboard" -EndSection \ No newline at end of file +EndSection diff --git a/.docker/files/chromium/supervisord.conf b/.docker/files/chromium/supervisord.conf index 9012520..d281d44 100644 --- a/.docker/files/chromium/supervisord.conf +++ b/.docker/files/chromium/supervisord.conf @@ -2,11 +2,11 @@ # https://peter.sh/experiments/chromium-command-line-switches/ --no-sandbox [program:chromium] environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s" -command=/usr/lib/chromium/chromium --window-position=0,0 --display=%(ENV_DISPLAY)s --start-maximized --bwsi --test-type --force-dark-mode --disable-file-system --disable-gpu --disable-software-rasterizer --disable-dev-shm-usage +command=/usr/lib/chromium/chromium --window-position=0,0 --display=%(ENV_DISPLAY)s --start-maximized --bwsi --test-type --force-dark-mode --disable-file-system --disable-gpu --disable-software-rasterizer --disable-dev-shm-usage %(ENV_START_URL)s autorestart=true priority=800 user=%(ENV_USER)s stdout_logfile=/var/log/neko/chromium.log stdout_logfile_maxbytes=100MB stdout_logfile_backups=10 -redirect_stderr=true \ No newline at end of file +redirect_stderr=true diff --git a/client/src/components/settings.vue b/client/src/components/settings.vue index 612ee18..371e804 100644 --- a/client/src/components/settings.vue +++ b/client/src/components/settings.vue @@ -39,11 +39,7 @@ {{ $t('setting.keyboard_layout') }} @@ -211,20 +207,33 @@ .select { max-width: 120px; + text-align: right; + + select:hover { + border: 1px solid $background-secondary; + } select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; display: block; width: 100%; max-width: 100%; - padding: 4px; + height: 30px; + text-align: right; + padding: 0 5px 0 10px; margin: 0; line-height: 30px; font-weight: bold; - border: 0; - border-radius: 12px; - - color: black; - background-color: $style-primary; + font-size: 12px; + text-overflow: ellipsis; + border: 1px solid transparent; + border-radius: 5px; + color: white; + background-color: $background-tertiary; + font-weight: lighter; + cursor: pointer; option { font-weight: normal; diff --git a/client/src/components/video.vue b/client/src/components/video.vue index b45af97..8d4c72f 100644 --- a/client/src/components/video.vue +++ b/client/src/components/video.vue @@ -29,6 +29,12 @@