remove unnecessary CSS and !importants

This commit is contained in:
Max Leiter 2022-12-25 21:03:24 -08:00
parent 6aa5301d89
commit 69a40df606
7 changed files with 32 additions and 61 deletions

View file

@ -47,10 +47,6 @@
}
.button {
border-radius: none !important;
}
.content li .fileIcon {
display: inline-block;
margin-right: var(--gap-half);

View file

@ -105,12 +105,6 @@
content: "";
}
.markdownPreview code {
border-radius: 3px;
white-space: pre-wrap;
word-wrap: break-word;
color: inherit !important;
}
.markdownPreview code::before,
.markdownPreview code::after {

View file

@ -15,18 +15,13 @@
align-items: center;
padding: 20px;
border-radius: 2px;
border: 2px dashed var(--border) !important;
border: 2px dashed var(--border);
outline: none;
transition: all 0.14s ease-in-out;
cursor: pointer;
}
.dropzone:hover {
border-color: var(--gray) !important;
}
.dropzone:focus {
box-shadow: 0 0 4px 1px rgba(124, 124, 124, 0.5);
border-color: var(--gray);
}
.error {

View file

@ -19,11 +19,6 @@
display: flex;
}
.fileNameContainer > div {
/* Override geist-ui styling */
margin: 0 !important;
}
.textarea {
height: 100%;
}

View file

@ -53,9 +53,8 @@
align-items: center;
}
.active,
.active {
color: var(--fg) !important;
.tabs .active {
color: var(--fg);
}
.buttonGroup,

View file

@ -46,15 +46,11 @@
}
}
.files {
padding: var(--gap) 0 !important;
margin: 0;
}
.files li {
display: flex;
align-items: center;
gap: var(--gap);
padding: var(--gap-quarter);
}
.files li a {

View file

@ -80,8 +80,8 @@
::selection {
text-shadow: none;
background: var(--fg) !important;
color: var(--bg) !important;
background: var(--fg);
color: var(--bg);
}
html,
@ -129,7 +129,7 @@ a.reset {
pre,
code {
font-family: var(--font-mono) !important;
font-family: var(--font-mono);
}
hr {
@ -157,10 +157,6 @@ hr {
--name: #333;
--highlight: #eaeaea;
}
* {
text-shadow: none !important;
}
}
#root,