Skip to content

Commit

Permalink
fix table css
Browse files Browse the repository at this point in the history
  • Loading branch information
clauBv23 committed Dec 12, 2024
1 parent 07023f1 commit a8d846b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion ui/src/css/article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -290,4 +290,16 @@
border-radius: var(--guk-border-rounded);
padding: var(--guk-space-2-5);
margin: 0 calc(-1 * var(--guk-space-2-5));
}
}

.doc table {
width: 100%;
max-width: 100%;
overflow-x: scroll;
display: block;
position: relative;

&:hover {
background: var(--guk-color-neutral-50);
}
}
2 changes: 1 addition & 1 deletion ui/src/css/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ button.collapse-toggle {
overflow-y: auto;
padding: 1rem;
padding-left: 0;
width: 300px;
width: 200px;

@media (min-width: 1000px) {
width: 250px; // medium screens
Expand Down

0 comments on commit a8d846b

Please sign in to comment.