mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
refactor(ui): css refinements for a more unified look (#1816)
This commit is contained in:
@@ -10,7 +10,7 @@ import useLocale from '../../../hooks/useLocale';
|
||||
import Transition from '../../Transition';
|
||||
|
||||
const messages = defineMessages({
|
||||
changelanguage: 'Change Language',
|
||||
displaylanguage: 'Display Language',
|
||||
});
|
||||
|
||||
const LanguagePicker: React.FC = () => {
|
||||
@@ -50,9 +50,9 @@ const LanguagePicker: React.FC = () => {
|
||||
<div>
|
||||
<label
|
||||
htmlFor="language"
|
||||
className="block pb-2 text-sm font-medium leading-5 text-gray-300"
|
||||
className="block pb-2 text-sm font-bold leading-5 text-gray-300"
|
||||
>
|
||||
{intl.formatMessage(messages.changelanguage)}
|
||||
{intl.formatMessage(messages.displaylanguage)}
|
||||
</label>
|
||||
<select
|
||||
id="language"
|
||||
|
@@ -67,7 +67,7 @@ const UserDropdown: React.FC = () => {
|
||||
>
|
||||
<Link href={`/profile`}>
|
||||
<a
|
||||
className="flex items-center px-4 py-2 text-sm text-gray-200 transition duration-150 ease-in-out hover:bg-gray-600"
|
||||
className="flex items-center px-4 py-2 text-sm font-medium text-gray-200 transition duration-150 ease-in-out hover:bg-gray-600"
|
||||
role="menuitem"
|
||||
tabIndex={0}
|
||||
onKeyDown={(e) => {
|
||||
@@ -83,7 +83,7 @@ const UserDropdown: React.FC = () => {
|
||||
</Link>
|
||||
<Link href={`/profile/settings`}>
|
||||
<a
|
||||
className="flex items-center px-4 py-2 text-sm text-gray-200 transition duration-150 ease-in-out hover:bg-gray-600"
|
||||
className="flex items-center px-4 py-2 text-sm font-medium text-gray-200 transition duration-150 ease-in-out hover:bg-gray-600"
|
||||
role="menuitem"
|
||||
tabIndex={0}
|
||||
onKeyDown={(e) => {
|
||||
@@ -99,7 +99,7 @@ const UserDropdown: React.FC = () => {
|
||||
</Link>
|
||||
<a
|
||||
href="#"
|
||||
className="flex items-center px-4 py-2 text-sm text-gray-200 transition duration-150 ease-in-out hover:bg-gray-600"
|
||||
className="flex items-center px-4 py-2 text-sm font-medium text-gray-200 transition duration-150 ease-in-out hover:bg-gray-600"
|
||||
role="menuitem"
|
||||
onClick={() => logout()}
|
||||
>
|
||||
|
Reference in New Issue
Block a user