mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-13 06:20:24 +00:00
Related issue: https://codeberg.org/forgejo/forgejo/issues/8581 This should be a nice first step towards RTL support. Future PRs can look at updating the tailwind classes, changing some of the icons (arrow left might need to become arrow right in some cases for example, and updating the template files) Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12491 Reviewed-by: 0ko <0ko@noreply.codeberg.org>
41 lines
809 B
CSS
41 lines
809 B
CSS
.markup table.file-preview {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.markup table.file-preview td {
|
|
padding: 0 10px !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.markup table.file-preview tr {
|
|
border-top: none;
|
|
background-color: inherit !important;
|
|
}
|
|
|
|
.markup .file-preview-box {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markup .file-preview-box .header {
|
|
padding: .5rem;
|
|
padding-inline-start: 1rem;
|
|
border: 1px solid var(--color-secondary);
|
|
border-bottom: none;
|
|
border-radius: 0.28571429rem 0.28571429rem 0 0;
|
|
background: var(--color-box-header);
|
|
}
|
|
|
|
.markup .file-preview-box .warning {
|
|
border-radius: 0;
|
|
margin: 0;
|
|
padding: .5rem .5rem .5rem 1rem;
|
|
}
|
|
|
|
.markup .file-preview-box .header > a {
|
|
display: block;
|
|
}
|
|
|
|
.markup .file-preview-box .table {
|
|
margin-top: 0;
|
|
border-radius: 0 0 0.28571429rem 0.28571429rem;
|
|
}
|