Skip to content

Double borders on edit file view #1152

Closed
@pgaskin

Description

@pgaskin
  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (Just edit any file)
  • Log gist: Not relevant

Description

There is unnecessary double borders around the editors on the edit file view. This applies to both the markdown and the plain text editor.

This CSS code will fix it:

.repository.file.editor .tab[data-tab="write"] {
    padding: 0 !important;
}
.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
    border: none !important;
}
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
    border-left: none;
    border-right: none;
    border-bottom: none;
}

Screenshots

Before modifications After modifications
screenshot screenshot 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UI

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions