aboutsummaryrefslogtreecommitdiffstats
path: root/packages/excalidraw/components/ProjectName.scss
blob: 18bee26567d227fd3483bfa04e2b9c321d1e89ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.ProjectName {
  margin: auto;
  display: flex;
  align-items: center;

  .TextInput {
    height: calc(1rem - 3px);
    width: 200px;
    overflow: hidden;
    text-align: center;
    margin-left: 8px;
    text-overflow: ellipsis;

    &--readonly {
      background: none;
      border: none;
      &:hover {
        background: none;
      }
      width: auto;
      max-width: 200px;
      padding-left: 2px;
    }
  }
}