summaryrefslogtreecommitdiffstats
path: root/asset/css/primary-submit-btn-duplicate.less
blob: aae545f00a30fc4d2b1d981645b19a495153c786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
  Automatically set CSS class for duplicated submit buttons
  used for implicit form submission that should be invisible
  and not take up any space. `display: none` is not an option,
  because at least Safari will then ignore the element completely
  when submitting a form.
 */
.primary-submit-btn-duplicate {
  border: 0;
  height: 0;
  margin: 0;
  padding: 0;
  visibility: hidden;
  width: 0;
  position: absolute;
}