Skip to content

Commit

Permalink
remove unnecessary css code from reset.css & some minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskari committed Dec 9, 2024
1 parent 49ad3be commit 85357fb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 33 deletions.
3 changes: 1 addition & 2 deletions src/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function Header() {
name => name !== cluster?.name,
);

const nonBreakableSpaces = (number: int): string => {
const nonBreakableSpaces = (number: number): string => {
let spaces = '';
for (let i = 0; i < number; i++) {
spaces += '\u00a0';
Expand Down Expand Up @@ -218,7 +218,6 @@ export function Header() {
text={t('common.labels.version')}
additionalText={busolaVersion}
icon="inspect"
startsSection
/>
</MenuItem>
</Menu>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const DynamicPageComponent = ({
);
});
// eslint-disable-line react-hooks/exhaustive-deps
}, []);
}, [className]);

const handleColumnClose = () => {
window.history.pushState(
Expand Down
4 changes: 0 additions & 4 deletions src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ ui5-button::part(button) {
-webkit-font-smoothing: antialiased;
}

li {
list-style: none;
}

ui5-checkbox {
-webkit-appearance: checkbox;
}
Expand Down
28 changes: 2 additions & 26 deletions src/styles/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
License: none (public domain)
*/

html,
ul,
p {
margin: 0;
Expand All @@ -15,37 +14,14 @@ p {
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
body {
line-height: 1;
}
ol,

ul {
list-style: none;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}

table {
border-collapse: collapse;
border-spacing: 0;
Expand Down

0 comments on commit 85357fb

Please sign in to comment.