mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
refactor styling
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
.desktopBoardButtons {
|
||||
padding-right: 5px;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.desktopBoardButtons::after {
|
||||
@@ -40,6 +41,8 @@
|
||||
|
||||
.desktopBoardButtons .rightSideButtons {
|
||||
float: right;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.desktopBoardButtons .rightSideButtons select {
|
||||
|
||||
@@ -95,7 +95,7 @@ const SortOptions = () => {
|
||||
};
|
||||
return (
|
||||
<>
|
||||
<span className='capitalize'>{t('sort_by')}</span>:
|
||||
<span>{t('sort_by')}</span>:
|
||||
<select className='capitalize' value={sortType} onChange={handleSortChange}>
|
||||
<option value='active'>{t('bump_order')}</option>
|
||||
<option value='new'>{t('creation_date')}</option>
|
||||
@@ -110,7 +110,7 @@ const ImageSizeOptions = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<span className='capitalize'>{t('image_size')}:</span>
|
||||
<span>{t('image_size')}:</span>
|
||||
<select className='capitalize' value={imageSize} onChange={(e) => setImageSize(e.target.value as 'Small' | 'Large')}>
|
||||
<option value='Small'>{t('small')}</option>
|
||||
<option value='Large'>{t('large')}</option>
|
||||
@@ -125,7 +125,7 @@ const ShowOPCommentOption = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<span className='capitalize'>{t('show_op_comment')}:</span>
|
||||
<span>{t('show_op_comment')}:</span>
|
||||
<select className='capitalize' value={showOPComment ? 'On' : 'Off'} onChange={(e) => setShowOPComment(e.target.value === 'On')}>
|
||||
<option value='Off'>{t('off')}</option>
|
||||
<option value='On'>{t('on')}</option>
|
||||
@@ -159,7 +159,7 @@ export const TimeFilter = ({ isInAllView, isInCatalogView, isInSubscriptionsView
|
||||
<>
|
||||
{!isTopbar ? (
|
||||
<>
|
||||
<span className='capitalize'>{t('newer_than')}</span>:
|
||||
<span>{t('newer_than')}</span>:
|
||||
</>
|
||||
) : (
|
||||
<> </>
|
||||
|
||||
Reference in New Issue
Block a user