Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Apr 30, 2024
1 parent d62cc96 commit e22584e
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 23 deletions.
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/HealthScan.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export const HealthScan = (props) => {

<Button
inline
style={{ 'margin-left': '2%' }}
style={{ marginLeft: '2%' }}
content="Change"
onClick={() => act('change_holo_card')}
/>
Expand Down
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/HiveStatus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ const XenoCounts = (props) => {
<div>
<span
style={{
'margin-right': '4px',
marginRight: '4px',
}}
>
{tier_slots[tier_str].open_slots}
Expand All @@ -205,7 +205,7 @@ const XenoCounts = (props) => {
<Fragment key={i}>
<span
style={{
'margin-right': '4px',
marginRight: '4px',
}}
>
{
Expand Down
1 change: 0 additions & 1 deletion tgui/packages/tgui/interfaces/JoeEmotes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ const EmoteTab = (props) => {
height="20px"
width="32px"
style={{
'-ms-interpolation-mode': 'nearest-neighbor',
verticalAlign: 'middle',
}}
/>
Expand Down
14 changes: 7 additions & 7 deletions tgui/packages/tgui/interfaces/Mortar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export const Mortar = (props) => {
content="Set Target"
icon="crosshairs"
style={{
'margin-top': '5px',
'margin-left': '10px',
marginTop: '5px',
marginLeft: '10px',
}}
onClick={() =>
act('set_target', {
Expand All @@ -63,9 +63,9 @@ export const Mortar = (props) => {
right: '15px',
height: '65px',
width: '80px',
'white-space': 'normal',
'text-align': 'center',
'align-items': 'center',
whiteSpace: 'normal',
textAlign: 'center',
alignItems: 'center',
}}
onClick={() =>
act('operate_cam', {
Expand Down Expand Up @@ -103,8 +103,8 @@ export const Mortar = (props) => {
content="Dial Offset"
icon="wrench"
style={{
'margin-top': '5px',
'margin-left': '10px',
marginTop: '5px',
marginLeft: '10px',
}}
onClick={() =>
act('set_offset', {
Expand Down
6 changes: 3 additions & 3 deletions tgui/packages/tgui/interfaces/Orbit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ const ObservableItem = (props: {
<Button
color={'transparent'}
style={{
'border-color': color ? '#2185d0' : 'grey',
'border-style': 'solid',
'border-width': '1px',
borderColor: color ? '#2185d0' : 'grey',
borderStyle: 'solid',
borderWidth: '1px',
color: color ? 'white' : 'grey',
}}
onClick={() => act('orbit', { ref: ref })}
Expand Down
16 changes: 8 additions & 8 deletions tgui/packages/tgui/interfaces/PodLauncher.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@ const ViewTabHolder = (props) => {
</Flex.Item>
<Flex.Item grow={1} mt={1}>
<ByondUi
className="CameraPanel"
height="100%"
params={{
zoom: 0,
id: map_ref,
type: 'map',
}}
Expand Down Expand Up @@ -436,11 +436,11 @@ const PodStatusPage = (props) => {
}
}}
style={{
'vertical-align': 'middle',
'margin-left': j !== 0 ? '1px' : '0px',
'margin-right':
verticalAlign: 'middle',
marginLeft: j !== 0 ? '1px' : '0px',
marginRight:
j !== list.list.length - 1 ? '1px' : '0px',
'border-radius': '5px',
borderRadius: '5px',
}}
/>
)}
Expand Down Expand Up @@ -677,9 +677,9 @@ class PresetsPage extends Component {
style={
presetIndex === preset.id
? {
'border-width': '1px',
'border-style': 'solid',
'border-color': `hsl(${preset.hue}, 80%, 80%)`,
borderWidth: '1px',
borderStyle: 'solid',
borderColor: `hsl(${preset.hue}, 80%, 80%)`,
}
: ''
}
Expand Down
1 change: 0 additions & 1 deletion tgui/packages/tgui/interfaces/YautjaEmotes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ const EmoteTab = (props) => {
height="20px"
width="32px"
style={{
'-ms-interpolation-mode': 'nearest-neighbor',
verticalAlign: 'middle',
}}
/>
Expand Down

0 comments on commit e22584e

Please sign in to comment.